mint-config-update.sh aktualisiert

This commit is contained in:
olli 2023-07-18 13:57:09 +02:00
parent 9c0a8ce19e
commit f39abc2a96

View File

@ -1,8 +1,13 @@
#!/bin/bash
wget -q https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint.sh -O /tmp/mint.sh
# lockfile for systemd-service
trap "rm -f /run/mint-config-update.sh.lock" EXIT
echo $$ >/run/mint-config-update.sh.lock
# download and run
wget -q https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint.sh -O /tmp/mint.sh || exit 0
cd /tmp
bash -e mint.sh
bash -n mint.sh && bash -e mint.sh
rm mint.sh
echo "Skript beendet"