Commit 26aa983c authored by Mattias Ellert's avatar Mattias Ellert

Avoid using a postinst script

parent 61091a3e
nordugrid-arc-wn: setuid-binary usr/bin/arc-job-cgroup 4755 root/root
#!/bin/sh
set -e
if [ "$1" = "configure" ] ; then
chmod 4755 /usr/bin/arc-job-cgroup
fi
#DEBHELPER#
......@@ -116,6 +116,8 @@ install: build-stamp
mv debian/tmp/etc/init.d/arc-acix-index \
debian/nordugrid-arc-acix-index.arc-acix-index.init
chmod 4755 debian/tmp/usr/bin/arc-job-cgroup
binary: binary-arch binary-indep
binary-arch: install
......@@ -138,7 +140,7 @@ binary-arch: install
dh_link -a $(N)
dh_strip -a $(N)
dh_compress -a $(N) -X .pdf -X arc.conf
dh_fixperms -a $(N)
dh_fixperms -a $(N) -X /usr/bin/arc-job-cgroup
dh_makeshlibs -a $(N)
dh_installdeb -a $(N)
dh_shlibdeps -a $(N)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment