1 ## arg 1: the new package version
7 infodir=/usr/share/info
10 ## arg 1: the new package version
12 for file in ${filelist[@]}; do
13 install-info $infodir/$file $infodir/dir 2> /dev/null
16 echo "Poldi is now installed."
18 echo "Since this is the first time you've installed poldi, the template configuration files have been placed in /etc/poldi. Take a look and edit them to your needs."
19 echo "The original templates will remain in /usr/share/poldi/etc/poldi."
22 cp -fR /usr/share/poldi/etc/poldi/* /etc/poldi/
25 echo "Future upgrades to this package will NOT overwrite your configuration files in /etc/poldi, since this might seriously break things. The latest version of the template configuration files can always be found in /usr/share/doc/poldi/example_etc/poldi."
28 ## arg 1: the new package version
29 ## arg 2: the old package version
35 ## arg 1: the new package version
36 ## arg 2: the old package version
38 for file in ${filelist[@]}; do
39 install-info $infodir/$file $infodir/dir 2> /dev/null
42 echo "Poldi has now been upgraded."
44 echo "Warning: Upgrades to this package will not replace any configuration files in /etc/poldi, in order to prevent serious logging in problems."
45 echo "The updated sample configuration files are now in /usr/share/poldi/etc/poldi. Take a look and update your own files in /etc/poldi if necessary."
48 ## arg 1: the old package version
50 for file in ${filelist[@]}; do
51 install-info --delete $infodir/$file $infodir/dir 2> /dev/null
55 ## arg 1: the old package version
61 # vim:set ts=2 sw=2 et: