summaryrefslogtreecommitdiff
path: root/libre/lsb-release/lsb-release.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 22:04:31 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-06 22:04:31 -0600
commit2967b22c6179ded9cc01496e10dcb0f292d0c182 (patch)
tree9219e7dc564f3dc8af29ea142c4b5d409ea74310 /libre/lsb-release/lsb-release.install
parent55677d14e4829d6a7859333d3560db346c228fdf (diff)
parente84010fb9a6f81d96d9c54661a7abde97a0eb187 (diff)
Merge branch 'master-remote' into master-undelete
Diffstat (limited to 'libre/lsb-release/lsb-release.install')
-rw-r--r--libre/lsb-release/lsb-release.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/lsb-release/lsb-release.install b/libre/lsb-release/lsb-release.install
new file mode 100644
index 000000000..62d404892
--- /dev/null
+++ b/libre/lsb-release/lsb-release.install
@@ -0,0 +1,14 @@
+post_install() {
+ rm -f /etc/arch-release
+ echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
+}
+
+post_upgrade() {
+ rm -f /etc/arch-release
+ sed -e '/Parabola GNU\/Linux-[Ll]ibre release/d' -i /etc/parabola-release
+ echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
+}
+
+pre_remove() {
+ sed -e '/Parabola GNU\/Linux-[Ll]ibre release/d' -i /etc/parabola-release
+}