2016-04-07 13:14:53 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
configure)
|
|
|
|
if [ -f /usr/lib/zaf/install.sh ] && [ -f /etc/zaf.conf ] && [ -f /usr/lib/zaf/zaf.lib.sh ] && which zaf >/dev/null; then
|
|
|
|
. /etc/zaf.conf
|
|
|
|
. /usr/lib/zaf/zaf.lib.sh
|
|
|
|
. /usr/lib/zaf/os.lib.sh
|
|
|
|
. /usr/lib/zaf/ctrl.lib.sh
|
|
|
|
cd /usr/lib/zaf && /usr/lib/zaf/install.sh reconf
|
2016-04-18 11:51:24 +02:00
|
|
|
[ -n "{PLUGINS}" ] && for p in {PLUGINS}; do
|
|
|
|
if ! is_plugin $p;then
|
|
|
|
zaf install $ZAF_PREPACKAGED_DIR/$p;
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
[ -n "{IPLUGINS}" ] && zaf reinstall {IPLUGINS}
|
2016-04-07 13:14:53 +02:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2016-04-12 15:28:29 +02:00
|
|
|
true
|
2016-04-07 13:14:53 +02:00
|
|
|
|