arcconf/debian/postinst
2017-04-25 04:07:49 +02:00

36 lines
1.3 KiB
Bash

#!/bin/sh
set -e
if [ -f "/usr/lib/arcconf/arcconf-2.03" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.03 203
fi
if [ -f "/usr/lib/arcconf/arcconf-2.02" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.02 202
fi
if [ -f "/usr/lib/arcconf/arcconf-2.01" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.01 201
fi
if [ -f "/usr/lib/arcconf/arcconf-2.00" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.00 200
fi
if [ -f "/usr/lib/arcconf/arcconf-1.08" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.08 108
fi
if [ -f "/usr/lib/arcconf/arcconf-1.07" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.07 107
fi
if [ -f "/usr/lib/arcconf/arcconf-1.06" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.06 106
fi
if [ -f "/usr/lib/arcconf/arcconf-1.05" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.05 105
fi
if [ -f "/usr/lib/arcconf/arcconf-1.04" ]
update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.04 104
fi
#DEBHELPER#
exit 0