Fix for #180
This fixes a problem where uninstall would not clear the current crontab file, leading to duplicate entries when re-installing via the installer.
This commit is contained in:
		| @@ -26,9 +26,8 @@ if [ "$option" = 1 ] || [ "$option" = 3 ]; then | |||||||
|     pip3 uninstall Inkycal -y |     pip3 uninstall Inkycal -y | ||||||
|  |  | ||||||
|     # Remove crontab file |     # Remove crontab file | ||||||
|     echo -e "\e[1;36m"Replacing current crontab"\e[0m" |     echo -e "\e[1;36m"Reverting crontab file"\e[0m" | ||||||
|     (crontab -l ; echo "")| crontab - |     crontab -r | ||||||
|  |  | ||||||
|     echo -e "\e[1;36m"Uninstall complete."\e[0m" |     echo -e "\e[1;36m"Uninstall complete."\e[0m" | ||||||
| fi | fi | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user