13 lines
497 B
Text
13 lines
497 B
Text
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
|
|
|
|
[ -f /usr/bin/firefox-esr ] || ln -s /usr/bin/icecat /usr/bin/firefox-esr
|
|
|
|
for HOMEDIR in $(grep :/home/ /etc/passwd |grep -v usbmux |grep -v syslog|cut -d : -f 6)
|
|
do
|
|
[ -d $HOMEDIR/.mozilla/icecat ] && continue || true
|
|
[ -d $HOMEDIR/.mozilla/firefox-esr ] || continue
|
|
echo Linking $HOMEDIR/.mozilla/firefox-esr into $HOMEDIR/.mozilla/icecat
|
|
ln -s $HOMEDIR/.mozilla/firefox-esr $HOMEDIR/.mozilla/icecat
|
|
done
|
|
fi
|
|
exit 0
|