You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
680 B
26 lines
680 B
#!/bin/bash
|
|
|
|
ENABLED=no
|
|
[ "$ENABLED" != "yes" ] && exit 0
|
|
DEBUGMODE=no
|
|
|
|
. /usr/lib/ublinux/functions
|
|
. /usr/lib/ublinux/os-config
|
|
debug_mode "$0" "$@"
|
|
|
|
SOURCE=${SYSCONF}/config; [ -f ${SOURCE} ] && . ${SOURCE} 2>/dev/null
|
|
|
|
# Registering mozilla extentions (firefox and thunderbird)
|
|
if [ "$REGISTERMOZEXT" != "no" ] ;then
|
|
for i in firefox thunderbird ; do
|
|
if [ -d /usr/lib/mozilla/$i/extensions ] ;then
|
|
for a in $(ls -d /usr/lib/mozilla/$i/extensions/* ) ; do
|
|
for f in /usr/lib/$i* ;do
|
|
[ -d $f/extensions ] && ln -sf $a $f/extensions
|
|
[ -d $f/browser/extensions ] && ln -sf $a $f/browser/extensions
|
|
done
|
|
done
|
|
fi
|
|
done
|
|
fi
|