3
if [ "$1" = configure ] || [ "$1" = reconfigure ]; then
4
if getent group sudo > /dev/null 2>&1; then
5
chown root:sudo /var/cache/jockey
6
chmod 3775 /var/cache/jockey
9
if dpkg --compare-versions "$2" lt-nl "0.3"; then
10
# format changed between 0.2 and 0.3
11
rm -f /var/cache/jockey/check
14
# clean up after restricted-manager->jockey package transition
15
if dpkg --compare-versions "$2" lt "0.3.3-0ubuntu3"; then
16
rm -f /etc/xdg/autostart/restricted-manager.desktop
19
# modutils recently introduced .conf suffix requirement
20
if dpkg --compare-versions "$2" lt-nl "0.5-0ubuntu3"; then
21
for f in /etc/modprobe.d/blacklist-bcm43 /etc/modprobe.d/blacklist-local; do
22
if [ -e "$f" ] && [ ! -e "$f.conf" ]; then