aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/templatepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index 1e037de..048ac22 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -792,7 +792,7 @@ function create_doinst {
echo Creating doinst.sh...
cat $TEMPLATE_BASE.perms | while read entry; do
file="`echo $entry | cut -d ";" -f 1`"
- if [ -a "$TEMPLATE_BASE.d/$file" ] && [ -a "$1/$file" ]; then
+ if [ -e "$TEMPLATE_BASE.d/$file" ]; then
owner="`echo $entry | cut -d ";" -f 2`"
group="`echo $entry | cut -d ";" -f 3`"
perms="`echo $entry | cut -d ";" -f 4`"