updated stuff

This commit is contained in:
David Young
2026-04-10 11:00:39 -06:00
parent 70c73005ee
commit 3b40f0ccc6
2 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ gui=true
steps=cd src, make, make hamclock-1600x960, mv hamclock-1600x960 $HOME/.local/bin/hamclock steps=cd src, make, make hamclock-1600x960, mv hamclock-1600x960 $HOME/.local/bin/hamclock
[openhamclock] [openhamclock]
version= version=26.1.3
git=https://github.com/accius/openhamclock.git git=https://github.com/accius/openhamclock.git
install=$HOME/.local/bin/openhamclock install=$HOME/.local/bin/openhamclock
steps=npm ci, cp .env.example .env, read -rp "What is your call sign? " CALLSIGN, sed -i "s/CALLSIGN=NOCALL/CALLSIGN=$CALLSIGN/" .env, read -rp "What is the host IP address or domain name? " HOST, sed -i "s/HOST=localhost/HOST=$HOST/" .env, read -rp "What is your locator code? " LOCATOR, sed -i "s/LOCATOR=FN31/LOCATOR=$LOCATOR/" .env steps=npm ci, cp .env.example .env, read -rp "What is your call sign? " CALLSIGN, sed -i "s/CALLSIGN=NOCALL/CALLSIGN=$CALLSIGN/" .env, read -rp "What is the host IP address or domain name? " HOST, sed -i "s/HOST=localhost/HOST=$HOST/" .env, read -rp "What is your locator code? " LOCATOR, sed -i "s/LOCATOR=FN31/LOCATOR=$LOCATOR/" .env

View File

@@ -28,8 +28,9 @@ print_logo
cd ~ cd ~
sudo -v sudo -v
# Extend sudo timeout for the duration of the install, clean up on exit # Grant passwordless sudo for the duration of the install, revoke on exit
echo "Defaults timestamp_timeout=120" | sudo tee /etc/sudoers.d/99-hampack-install > /dev/null echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-hampack-install > /dev/null
sudo chmod 440 /etc/sudoers.d/99-hampack-install
trap "sudo rm -f /etc/sudoers.d/99-hampack-install" EXIT trap "sudo rm -f /etc/sudoers.d/99-hampack-install" EXIT
if ! command -v git &> /dev/null; then if ! command -v git &> /dev/null; then