2 echo '--------------------------------------------------------------------------'
3 echo ' Define which users will make use of the sync in /etc/psd.conf'
5 echo ' More at: https://wiki.archlinux.org/index.php/Profile-sync-daemon'
6 echo '--------------------------------------------------------------------------'
10 OLD=$(echo $2 | cut -f-1 -d '-')
11 # if upgrading from 2.0 display warning message
13 if [ "$OLD" = "2.9" ]; then
16 echo 'Make sure that you inspect /etc/psd.conf.pacnew and import the new'
17 echo 'settings therein! A nice change has occured in version 3.0 and you'
18 echo 'will not want to miss it.'
21 if [ "$OLD" = "2.1" ]; then
24 echo 'In version 2.1 and above, the update function has been renamed to sync.'
25 echo 'So only three functions are options: start, stop, and sync'
29 echo 'In version 2.3 and above, the need to manually add an entry in your'
30 echo 'root crontab to call the sync function is gone. The PKG now adds a'
31 echo 'script in /etc/cron.hourly to do this for you.'
33 echo 'If you are seeing this warning, it means that you are upgrading from'
34 echo 'an older version of the PKG and very likely need to edit your root'
35 echo 'crontab and REMOVE the line calling the daemon to sync your system!'
39 if [ "$OLD" = "2.2" ]; then
42 echo 'In version 2.3 and above, the need to manually add an entry in your'
43 echo 'root crontab to call the sync function is gone. The PKG now adds a'
44 echo 'script in /etc/cron.hourly to do this for you.'
46 echo 'If you are seeing this warning, it means that you are upgrading from'
47 echo 'an older version of the PKG and very likely need to edit your root'
48 echo 'crontab and REMOVE the line calling the daemon to sync your system!'