Change permissions to 755 for new templates.
--HG-- extra : convert_revision : d68b03eba9f403d90cd66fe32023f940beb34077
This commit is contained in:
parent
98f478185d
commit
c3bd14e65c
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
: ${sed_cmd:=/usr/bin/sed}
|
||||
: ${db_cmd:=/usr/bin/db -q}
|
||||
: ${config_file:=/usr/local/etc/pkgfs.conf}
|
||||
: ${chmod_cmd:=/bin/chmod}
|
||||
|
||||
required_deps=
|
||||
|
||||
|
@ -115,6 +116,8 @@ write_new_template()
|
|||
exit 1
|
||||
fi
|
||||
|
||||
$chmod_cmd 755 $tmpldir/$tmplname$pkg.tmpl
|
||||
|
||||
if [ -n "$deps" ]; then
|
||||
for i in $required_deps; do
|
||||
deps="$i $deps"
|
||||
|
|
Loading…
Reference in a new issue