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:
Baptiste Daroussin 2016-06-22 21:44:25 +00:00
parent 4702f4204a
commit e682d8cb62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417335

View file

@ -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