Added keep_dirs and conf_files vars for templates.
These will be written in pkg metadata props file as well. For now they don't change any behaviour, will be used in binary packages. Convert some pkgs to use them. --HG-- extra : convert_revision : d04f681cf80dc97ceb9e50370d5a8c0d7b52687c
This commit is contained in:
parent
2c7b9e58f7
commit
6c9ac2ea07
6 changed files with 16 additions and 1 deletions
|
@ -88,6 +88,15 @@ _EOF
|
|||
done
|
||||
printf "\t</array>\n" >> $TMPFPROPS
|
||||
fi
|
||||
# Keep directories while removing.
|
||||
if [ -n "$keep_dirs" ]; then
|
||||
printf "\t<key>keep_dirs</key>\n" >> $TMPFPROPS
|
||||
printf "\t<array>\n" >> $TMPFPROPS
|
||||
for f in ${keep_dirs}; do
|
||||
printf "\t\t<string>$f</string>\n" >> $TMPFPROPS
|
||||
done
|
||||
printf "\t</array>\n" >> $TMPFPROPS
|
||||
fi
|
||||
|
||||
# Terminate the property list file.
|
||||
printf "</dict>\n</plist>\n" >> $TMPFPROPS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue