diff options
author | Muhammad Al-Habib Ouadhour | 2018-08-10 14:59:58 +0100 |
---|---|---|
committer | Muhammad Al-Habib Ouadhour | 2018-08-10 14:59:58 +0100 |
commit | 123f27cf882c126c05d4f626b7cdf3f22f7e5131 (patch) | |
tree | ce89c23de7a73e695224b5f6d26ac83b329811cf | |
parent | 998dd1b80d8223a2c750894d8a9f5714a5a3be2e (diff) | |
download | aur-123f27cf882c126c05d4f626b7cdf3f22f7e5131.tar.gz |
Change the message after installation inside alun.install
-rwxr-xr-x | alun.install | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/alun.install b/alun.install index ed501179aae2..38afc03123fd 100755 --- a/alun.install +++ b/alun.install @@ -3,13 +3,14 @@ post_install() { systemctl is-enabled cronie > /dev/null || sudo systemctl enable cronie # start cronie service if it's not started systemctl is-active cronie > /dev/null || sudo systemctl start cronie - # create the crontab file - tput setaf 196 - echo "==> Add the following line to your crontab file by running." - echo "$ crontab -e" - echo "*/30 * * * * env DISPLAY=:0 /usr/bin/alun" - echo "==> Run this command if you don't have a crontab file" + # Notify the user to create the crontab and change default terminal + tput setaf 196 # red color to bring your attention + echo "==> Don't forget to change default terminal inside /etc/alun/conf.py" + echo "==> Create a new crontab file using." echo "$ crontab /etc/alun/crontab" + echo "==> Or" + echo "==> Append crontab file to old one using." + echo "$ cat /etc/alun/crontab >> /var/spool/cron/\$USER" tput sgr0 } |