do not chmod u+w sample files when copying it
It is up to the package to decide the mode of the config files Reported by: garga
This commit is contained in:
parent
4702f4204a
commit
e682d8cb62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417335
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@ post-install: <<EOD
|
|||
*) target_file="%D/${target_file}" ;;
|
||||
esac
|
||||
if ! [ -f "${target_file}" ]; then
|
||||
/bin/cp -p "${sample_file}" "${target_file}" && \
|
||||
/bin/chmod u+w "${target_file}"
|
||||
/bin/cp -p "${sample_file}" "${target_file}"
|
||||
fi
|
||||
EOD
|
||||
pre-deinstall: <<EOD
|
||||
|
|
Loading…
Reference in a new issue