summaryrefslogtreecommitdiff
path: root/dh_suidregister
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:42:15 +0000
committerjoey <joey>1999-08-17 04:42:15 +0000
commit050d55509586c51def636f895075c62877c9fae7 (patch)
tree58b7a884434d8e2a3b5b26e06be0860b4a6bffaf /dh_suidregister
parent151fcdd2c72ee77597124c74450d66ba2840b14b (diff)
downloaddebhelper-050d55509586c51def636f895075c62877c9fae7.tar.gz
r48: Initial Import
Diffstat (limited to 'dh_suidregister')
-rwxr-xr-xdh_suidregister8
1 files changed, 4 insertions, 4 deletions
diff --git a/dh_suidregister b/dh_suidregister
index 3f7622af..bc8aa5f2 100755
--- a/dh_suidregister
+++ b/dh_suidregister
@@ -11,12 +11,12 @@ PATH=debian:$PATH:/usr/lib/debhelper
for PACKAGE in $DH_DOPACKAGES; do
TMP=`tmpdir $PACKAGE`
- EXT=`pkgext $PACKAGE`
+ suid=`pkgfile $PACKAGE suid`
files=""
- if [ -e debian/${EXT}suid ]; then
- files=`tr "\n" " " < debian/${EXT}suid`
+ if [ "$suid" ]; then
+ files=`tr "\n" " " < $suid`
fi
if [ \( "$PACKAGE" = "$DH_FIRSTPACKAGE" -o "$DH_PARAMS_ALL" \) \
@@ -24,7 +24,7 @@ for PACKAGE in $DH_DOPACKAGES; do
files="$* $files"
fi
- if [ ! "$files" -a ! -e debian/${EXT}suid ]; then
+ if [ ! "$files" -a ! "$suid" ]; then
# No files specified (and no empty debian/suid file), so
# guess what files to process.
files=`find $TMP -type f -perm +6000`