stuff
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
#
|
||||
# Purpose : Install openhamclock
|
||||
|
||||
if [ ! -d "$HOME/openhamclock" ]; then
|
||||
curl -fsSL https://raw.githubusercontent.com/accius/openhamclock/main/scripts/setup-linux.sh | bash -s -- --service
|
||||
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"|' | \
|
||||
bash -s -- --service
|
||||
fi
|
||||
|
||||
cd "$HOME/openhamclock" && npm install
|
||||
cd "$HOME/.local/bin/openhamclock" && npm install
|
||||
|
||||
echo "openhamclock is installed"...
|
||||
Reference in New Issue
Block a user