Fix error in install.sh

This commit is contained in:
Alexandre CATTEAU 2022-07-24 20:57:30 +02:00
parent ee007e28fb
commit 68cece5997

View File

@ -38,9 +38,11 @@ else
fi fi
echo "Enabling timer (not starting it, either do it manually or reboot)..." echo "Enabling timer (not starting it, either do it manually or reboot)..."
if [[ $user != 'root' ]]; then if [[ $user != 'root' ]]; then
sudo systemctl enable conf-sync.timer sudo systemctl enable conts-snap.timer
sudo systemctl enable docker-upgrade.timer
else else
systemctl enable conf-sync.timer systemctl enable conts-snap.timer
systemctl enable docker-upgrade.timer
fi fi
echo "Finished install. Exiting..." echo "Finished install. Exiting..."