pff: créer automatiquement le profil Common

This commit is contained in:
Jephté Clain 2018-02-23 09:22:13 +04:00
parent 9481cad10c
commit 5d828c4894
1 changed files with 2 additions and 0 deletions

2
pff
View File

@ -472,6 +472,8 @@ function init_cmd() {
if [ "${ORIGEXTS[*]}" != "${DEFAULT_ORIGEXTS[*]}" ]; then
conf_update "$workdir/$PFFCONF" ORIGEXTS
fi
array_addu PROFILES Common
conf_update "$workdir/$PFFCONF" PROFILES
# répertoire pff
mkdir -p "$workdir/pff"
[ -f "$workdir/pff/.gitignore" ] || echo >"$workdir/pff/.gitignore" "\