1 # arg 1: the new package version
4 # Check to see if the user needs to know about other archive types
7 which unzip &> /dev/null
9 which unrar &> /dev/null
13 which arj &> /dev/null
16 if [ $haszip -eq 1 -o $hasunzip -eq 1 -o $hasrar -eq 1 -o $has7z -eq 1 -o $hasarj -eq 1 ]; then
18 echo ">>> Certain archive types cannot be opened without the following:"
20 if [ $haszip -eq 1 -o $hasunzip -eq 1 ]; then
21 echo ">>> - for zip support, install the 'zip' and 'unzip' packages."
24 if [ $hasrar -eq 1 ]; then
25 echo ">>> - for rar support, install the 'unrar' package."
28 if [ $has7z -eq 1 ]; then
29 echo ">>> - for 7zip (7z) support, install the 'p7zip' package."
32 if [ $hasarj -eq 1 ]; then
33 echo ">>> - for arj support, install the 'arj' package."
36 update-desktop-database -q
37 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
40 # arg 1: the new package version
41 # arg 2: the old package version
47 update-desktop-database -q
48 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor