aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-02 22:09:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-02 22:17:31 +0100
commit11a5e4c92bff085d0468f54f16bdd19138615073 (patch)
treeaac7c2807fdf7e77c507483f05fc5a0a3748a229 /Documentation/maintainers
parentkde-apps/kio-extras: Add implicit dependency net-libs/kdsoap, slot op (diff)
downloadkde-11a5e4c92bff085d0468f54f16bdd19138615073.tar.gz
kde-11a5e4c92bff085d0468f54f16bdd19138615073.tar.bz2
kde-11a5e4c92bff085d0468f54f16bdd19138615073.zip
Documentation: lib.sh: mkdir profiles/package.mask if missing
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'Documentation/maintainers')
-rwxr-xr-xDocumentation/maintainers/new/lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/maintainers/new/lib.sh b/Documentation/maintainers/new/lib.sh
index 53ba5dc9ce..b512921c04 100755
--- a/Documentation/maintainers/new/lib.sh
+++ b/Documentation/maintainers/new/lib.sh
@@ -189,6 +189,7 @@ mask_from_live_set() {
if command -v git &> /dev/null; then
author="$(git config --get user.name) <$(git config --get user.email)>"
fi
+ [[ -d profiles/package.mask ]] || mkdir profiles/package.mask
echo "# ${author} ($(date "+%Y-%m-%d"))" >> profiles/package.mask/${filename}
echo "# $(pretty_setname ${set}-${version}) mask" >> profiles/package.mask/${filename}
echo "# UNRELEASED" >> profiles/package.mask/${filename}