aboutsummaryrefslogtreecommitdiff
path: root/gentoo
diff options
context:
space:
mode:
authorJason Zaman <jason@perfinion.com>2019-02-09 19:50:56 +0800
committerJason Zaman <jason@perfinion.com>2019-02-10 12:11:24 +0800
commitf571ca7cfedbf8c14ad97307d5ab2806302de0d7 (patch)
tree4399a4c75bc8304750f53b0120d7a29f529103a9 /gentoo
parentlibraries: ldconfig is a shell script on Gentoo musl libc (diff)
downloadhardened-refpolicy-f571ca7cfedbf8c14ad97307d5ab2806302de0d7.tar.gz
hardened-refpolicy-f571ca7cfedbf8c14ad97307d5ab2806302de0d7.tar.bz2
hardened-refpolicy-f571ca7cfedbf8c14ad97307d5ab2806302de0d7.zip
update release-userspace script with new URL and copyright line
Signed-off-by: Jason Zaman <jason@perfinion.com>
Diffstat (limited to 'gentoo')
-rw-r--r--gentoo/release-userspace.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gentoo/release-userspace.sh b/gentoo/release-userspace.sh
index be7924a1f..4eafdf378 100644
--- a/gentoo/release-userspace.sh
+++ b/gentoo/release-userspace.sh
@@ -70,8 +70,9 @@ setLiveReleaseDate() {
git diff --cached --exit-code >/dev/null 2>&1 || die "Uncommitted changes"
# update header and release date
- sed -i "s@Copyright 1999-201. Gentoo Foundation@Copyright 1999-$(date '+%Y') Gentoo Foundation@" "${PN}-9999.ebuild"
+ sed -i "s@Copyright 1999-201. Gentoo .*@Copyright 1999-$(date '+%Y') Gentoo Authors@" "${PN}-9999.ebuild"
sed -i "/^MY_RELEASEDATE=/s/.*/MY_RELEASEDATE=\"${RELEASEDATE}\"/" "${PN}-9999.ebuild"
+ sed -i "/SRC_URI/s@raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases@github.com/SELinuxProject/selinux/releases/download@" "${PN}-9999.ebuild"
# commit changes
git add "${PN}-9999.ebuild"