mirror of
https://github.com/limosek/zaf.git
synced 2025-11-01 18:17:37 +01:00
New package management
Repaired install Added external item support
This commit is contained in:
17
files/debian/postinst.template
Normal file
17
files/debian/postinst.template
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/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
|
||||
[ -n "{PLUGINS}" ] && zaf reinstall {PLUGINS} {IPLUGINS}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user