arcconf/debian/postinst

63 lines
2.7 KiB
Plaintext
Raw Normal View History

2017-04-25 04:07:49 +02:00
#!/bin/sh
set -e
2020-01-22 17:10:11 +01:00
if [ -f "/usr/lib/arcconf/arcconf-3.03" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-3.03 303
fi
if [ -f "/usr/lib/arcconf/arcconf-3.02" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-3.02 302
fi
2019-08-13 15:13:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-3.01" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-3.01 301
fi
2019-02-28 12:06:42 +01:00
if [ -f "/usr/lib/arcconf/arcconf-3.00" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-3.00 300
fi
2018-10-03 15:49:41 +02:00
if [ -f "/usr/lib/arcconf/arcconf-2.06" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-2.06 206
fi
2017-10-31 17:14:36 +01:00
if [ -f "/usr/lib/arcconf/arcconf-2.05" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-2.05 205
fi
if [ -f "/usr/lib/arcconf/arcconf-2.04" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-2.04 204
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-2.03" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-2.03 203
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-2.02" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-2.02 202
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-2.01" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-2.01 201
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-2.00" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-2.00 200
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-1.08" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-1.08 108
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-1.07" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-1.07 107
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-1.06" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-1.06 106
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-1.05" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-1.05 105
2017-04-25 04:07:49 +02:00
fi
2017-04-25 07:42:03 +02:00
if [ -f "/usr/lib/arcconf/arcconf-1.04" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-1.04 104
2017-04-25 04:07:49 +02:00
fi
2017-11-01 12:13:51 +01:00
if [ -f "/usr/lib/arcconf/arcconf-7.31" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-7.31 100
fi
2018-01-11 16:03:02 +01:00
if [ -f "/usr/lib/arcconf/arcconf-4.30" ]; then
update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-4.30 90
fi
2017-04-25 04:07:49 +02:00
#DEBHELPER#
exit 0