summaryrefslogtreecommitdiff
path: root/libre/lsb-release-libre/lsb-release.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-28 23:14:56 +0000
committerroot <root@rshg054.dnsready.net>2011-11-28 23:14:56 +0000
commit83c3c42a38bda36bdc56d594318958bc4cfd9b32 (patch)
tree7f61d219016bca3c90771ae5681a2ceeb149ed22 /libre/lsb-release-libre/lsb-release.install
parent495674534c45d86d3ad9149cdba75ca0bbbe1a0e (diff)
Mon Nov 28 23:14:56 UTC 2011
Diffstat (limited to 'libre/lsb-release-libre/lsb-release.install')
-rw-r--r--libre/lsb-release-libre/lsb-release.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/lsb-release-libre/lsb-release.install b/libre/lsb-release-libre/lsb-release.install
new file mode 100644
index 000000000..6ce4fee54
--- /dev/null
+++ b/libre/lsb-release-libre/lsb-release.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo "Parabola GNU/Linux-Libre release" >> /etc/arch-release
+}
+
+post_upgrade() {
+ sed -e '/Parabola GNU\/Linux-Libre release/d' -i /etc/arch-release
+ echo "Parabola GNU/Linux-Libre release" >> /etc/arch-release
+}
+
+pre_remove() {
+ sed -e '/Parabola GNU\/Linux-Libre release/d' -i /etc/arch-release
+}