Ahenk/debian/ahenk.postinst

16 lines
232 B
Text
Raw Normal View History

2019-05-13 17:11:52 +03:00
#!/bin/sh
set -e
#mkdir -p /usr/share/ahenk/plugins
# update ahenk from 1.0.0-6 to 1.0.0-7
if [ ! -d /etc/ahenk ]; then
mkdir -p /etc/ahenk
cp -rf /tmp/ahenk/* /etc/ahenk
fi
systemctl enable ahenk
systemctl start ahenk