make in to sibling project

This commit is contained in:
David Young
2026-10-23 08:14:13 -06:00
parent c7106ba76b
commit 0f86e92b88
10 changed files with 206 additions and 299 deletions
+5 -1
View File
@@ -2,6 +2,10 @@
#
# Purpose : Install openhamclock
set -e
SELF="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ ! -d "$HOME/.local/bin/openhamclock" ]; then
curl -fsSL https://raw.githubusercontent.com/accius/openhamclock/main/scripts/setup-linux.sh | \
sed 's|INSTALL_DIR="$HOME/openhamclock"|INSTALL_DIR="$HOME/.local/bin/openhamclock"|' | \
@@ -11,7 +15,7 @@ fi
cd "$HOME/.local/bin/openhamclock" && npm install
mkdir -p "$HOME/.config/systemd/user"
cp "$HOME/.local/share/HamPackServer/servicefiles/openhamclock.service" "$HOME/.config/systemd/user/"
cp "$SELF/servicefiles/openhamclock.service" "$HOME/.config/systemd/user/"
systemctl --user daemon-reload
systemctl --user enable --now openhamclock