[Pkg-javascript-commits] [rainloop] 13/38: Removed postinst script in favor of dh_fixperms override.
Daniel Ring
techwolf-guest at moszumanska.debian.org
Fri Dec 15 06:03:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
techwolf-guest pushed a commit to branch master
in repository rainloop.
commit 2f88c4635d88fb2ca84dfafcfe11364b941c9f10
Author: Techwolf <dring at g33kworld.net>
Date: Mon May 8 14:51:21 2017 -0700
Removed postinst script in favor of dh_fixperms override.
---
debian/rainloop.postinst | 24 ------------------------
debian/rules | 4 ++++
2 files changed, 4 insertions(+), 24 deletions(-)
diff --git a/debian/rainloop.postinst b/debian/rainloop.postinst
deleted file mode 100644
index b4c6341..0000000
--- a/debian/rainloop.postinst
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-set -e
-
-case "$1" in
- configure)
- if [ -d /var/lib/rainloop ]; then
- if [ $(id -u www-data 2>&1 >/dev/null) ]; then
- chown -R www-data:www-data /var/lib/rainloop
- fi;
- fi;
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/rules b/debian/rules
index 0218bf2..289518d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,7 @@ override_dh_auto_build:
rm -rf rainloop/v/0.0.0/app/libraries/Predis/
rm -rf rainloop/v/0.0.0/app/libraries/SabreForRainLoop/
node_modules/gulp/bin/gulp.js rainloop:start
+
+override_dh_fixperms:
+ dh_fixperms
+ chown -R www-data:www-data debian/rainloop/var/lib/rainloop
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/rainloop.git
More information about the Pkg-javascript-commits
mailing list