Merge pull request #181 from aceisace/hotfix/installer_crontab_clear

Fix for #180
This commit is contained in:
Ace 2021-03-16 21:41:07 +01:00 committed by GitHub
commit e4e0493f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,8 @@ if [ "$option" = 1 ] || [ "$option" = 3 ]; then
pip3 uninstall Inkycal -y
# Remove crontab file
echo -e "\e[1;36m"Replacing current crontab"\e[0m"
(crontab -l ; echo "")| crontab -
echo -e "\e[1;36m"Reverting crontab file"\e[0m"
crontab -r
echo -e "\e[1;36m"Uninstall complete."\e[0m"
fi