more changes

This commit is contained in:
David Young
2026-04-10 15:23:17 -06:00
parent f2edc30575
commit 4f173f7c4c
3 changed files with 23 additions and 8 deletions

View File

@@ -5,13 +5,6 @@ install=$HOME/.local/bin/hamclock
gui=true gui=true
steps=cd src && make && make hamclock-web-1600x960 && mkdir -p $HOME/.local/bin && mv hamclock-web-1600x960 $HOME/.local/bin/hamclock steps=cd src && make && make hamclock-web-1600x960 && mkdir -p $HOME/.local/bin && mv hamclock-web-1600x960 $HOME/.local/bin/hamclock
[openhamclock]
version=26.2.1
type=npm
git=https://github.com/accius/openhamclock.git
install=$HOME/.local/bin/openhamclock
steps=npm ci| cp .env.example .env| sudo rm -rf $HOME/.local/bin/openhamclock && mkdir -p $HOME/.local/bin/openhamclock && cp -r . $HOME/.local/bin/openhamclock
[direwolf] [direwolf]
version=1.8.1 version=1.8.1
git=https://github.com/wb2osz/direwolf.git git=https://github.com/wb2osz/direwolf.git

9
install-openhamclock.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
#
# Purpose : Install openhamclock
if [ ! -d "$HOME/.local/bin/openhamclock" ]; then
(cd "$HOME/.local/bin" && curl -fsSL https://raw.githubusercontent.com/accius/openhamclock/main/scripts/setup-linux.sh | bash)
fi
echo "openhamclock is installed"...

View File

@@ -128,6 +128,10 @@ fi
echo "Installing utilities..." echo "Installing utilities..."
install_packages "${UTILITIES[@]}" install_packages "${UTILITIES[@]}"
if ! command -v pm2 &> /dev/null; then
npm install pm2 -g
fi
cd ~/.local/share/HamPackServer cd ~/.local/share/HamPackServer
echo "Enabling PHP extensions in /etc/php/php.ini..." echo "Enabling PHP extensions in /etc/php/php.ini..."
@@ -174,10 +178,19 @@ else
echo "Cockpit is already installed, skipping." echo "Cockpit is already installed, skipping."
fi fi
# Install openhamclock
echo "Installing openhamclock..."
INSTALL_SUCCESS=true
if ! bash install-openhamclock.sh; then
echo "Warning: install-openhamclock.sh encountered errors. openhamclock may not have installed correctly."
INSTALL_SUCCESS=false
fi
# Install Compiled Servers # Install Compiled Servers
echo "Installing compiled servers..." echo "Installing compiled servers..."
INSTALL_SUCCESS=true
if ! bash install-compiled.sh; then if ! bash install-compiled.sh; then
echo "Warning: install-compiled.sh encountered errors. Some applications may not have installed correctly." echo "Warning: install-compiled.sh encountered errors. Some applications may not have installed correctly."