Add glare-common.postinst.in.

This commit is contained in:
Ivan Udovichenko 2016-09-30 16:31:45 +03:00
parent 396e1a9ff0
commit a038e81fba
2 changed files with 15 additions and 0 deletions

14
debian/glare-common.postinst.in vendored Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
set -e
#PKGOS-INCLUDE#
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
pkgos_var_user_group glare /bin/sh
fi
#DEBHELPER#
exit 0

1
debian/rules vendored
View File

@ -9,6 +9,7 @@ include /usr/share/openstack-pkg-tools/pkgos.make
override_dh_auto_clean:
find . -iname '*.pyc' -delete
rm -f debian/*.init debian/*.upstart debian/*.service
rm -f debian/glare-common.postinst
rm -rf build
override_dh_auto_test: