Change permissions to 755 for new templates.
--HG-- extra : convert_revision : d68b03eba9f403d90cd66fe32023f940beb34077
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
: ${sed_cmd:=/usr/bin/sed}
|
: ${sed_cmd:=/usr/bin/sed}
|
||||||
: ${db_cmd:=/usr/bin/db -q}
|
: ${db_cmd:=/usr/bin/db -q}
|
||||||
: ${config_file:=/usr/local/etc/pkgfs.conf}
|
: ${config_file:=/usr/local/etc/pkgfs.conf}
|
||||||
|
: ${chmod_cmd:=/bin/chmod}
|
||||||
|
|
||||||
required_deps=
|
required_deps=
|
||||||
|
|
||||||
@@ -115,6 +116,8 @@ write_new_template()
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$chmod_cmd 755 $tmpldir/$tmplname$pkg.tmpl
|
||||||
|
|
||||||
if [ -n "$deps" ]; then
|
if [ -n "$deps" ]; then
|
||||||
for i in $required_deps; do
|
for i in $required_deps; do
|
||||||
deps="$i $deps"
|
deps="$i $deps"
|
||||||
|
|||||||
Reference in New Issue
Block a user