3 # Check to see if the user needs to know about other archive types
6 which unzip &> /dev/null
8 which unrar &> /dev/null
12 which arj &> /dev/null
14 which bzip2 &> /dev/null
17 if [ $haszip -eq 1 -o $hasunzip -eq 1 -o $hasunrar -eq 1 -o $has7z -eq 1 -o $hasarj -eq 1 -o $hasbzip -eq 1 ]; then
19 echo ">>> Certain archive types cannot be opened without the following:"
21 if [ $haszip -eq 1 -o $hasunzip -eq 1 ]; then
22 echo ">>> - for zip support, install the 'zip' and 'unzip' packages."
25 if [ $hasunrar -eq 1 ]; then
26 echo ">>> - for rar support, install the 'unrar' package."
29 if [ $has7z -eq 1 ]; then
30 echo ">>> - for 7zip (7z) support, install the 'p7zip' package."
33 if [ $hasarj -eq 1 ]; then
34 echo ">>> - for arj support, install the 'arj' package."
37 if [ $hasbzip -eq 1 ]; then
38 echo ">>> - for bzip support, install the 'bzip2' package."