diff options
author | Bertrand Marc <beberking@gmail.com> | 2013-02-28 09:15:59 +0100 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2013-02-28 09:19:38 +0100 |
commit | 0f8d8bc0c5c09246d647d233767cf3437c6e8bcd (patch) | |
tree | ba2e051665b6832b544bceaaba1ed22b46817079 /debian/gnunet-server.postinst | |
parent | 464dc6f9c42338afa3c6af59fa1fd86f8b9d7395 (diff) |
Revert "Fix build on kfreebsd again, targetting wheezy."debian/0.9.3-7
This reverts commit 464dc6f9c42338afa3c6af59fa1fd86f8b9d7395.
Diffstat (limited to 'debian/gnunet-server.postinst')
-rw-r--r-- | debian/gnunet-server.postinst | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/gnunet-server.postinst b/debian/gnunet-server.postinst index 18e0252..76fb9a8 100644 --- a/debian/gnunet-server.postinst +++ b/debian/gnunet-server.postinst @@ -86,20 +86,18 @@ case "${1}" in /usr/bin/gnunet-helper-vpn do # only do something when no setting exists - if ! dpkg-statoverride --list $file >/dev/null 2>&1 && [ -e $file ] + if ! dpkg-statoverride --list $file >/dev/null 2>&1 then chown root:${_GROUPNAME} $file chmod 4754 $file fi done - if ! dpkg-statoverride --list /usr/bin/gnunet-helper-dns >/dev/null 2>&1 \ - && [ -e /usr/bin/gnunet-helper-dns ] + if ! dpkg-statoverride --list /usr/bin/gnunet-helper-dns >/dev/null 2>&1 then chown root:${GNUNETDNS_GROUP} /usr/bin/gnunet-helper-dns chmod 4754 /usr/bin/gnunet-helper-dns fi - if ! dpkg-statoverride --list /usr/bin/gnunet-service-dns >/dev/null 2>&1 \ - && [ -e /usr/bin/gnunet-service-dns ] + if ! dpkg-statoverride --list /usr/bin/gnunet-service-dns >/dev/null 2>&1 then chown ${_USERNAME}:${GNUNETDNS_GROUP} /usr/bin/gnunet-service-dns chmod 2754 /usr/bin/gnunet-service-dns |