summaryrefslogtreecommitdiff
path: root/libre/lsb-release-libre/lsb-release.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-29 23:14:46 +0000
committerroot <root@rshg054.dnsready.net>2011-11-29 23:14:46 +0000
commit946f0c9fe48dfb648a8a0be065e92f237ce210fd (patch)
tree13387ae15c5ab9a50acdaa6ab02a076319c19047 /libre/lsb-release-libre/lsb-release.install
parent83c3c42a38bda36bdc56d594318958bc4cfd9b32 (diff)
Tue Nov 29 23:14:46 UTC 2011
Diffstat (limited to 'libre/lsb-release-libre/lsb-release.install')
-rw-r--r--libre/lsb-release-libre/lsb-release.install10
1 files changed, 6 insertions, 4 deletions
diff --git a/libre/lsb-release-libre/lsb-release.install b/libre/lsb-release-libre/lsb-release.install
index 6ce4fee54..62d404892 100644
--- a/libre/lsb-release-libre/lsb-release.install
+++ b/libre/lsb-release-libre/lsb-release.install
@@ -1,12 +1,14 @@
post_install() {
- echo "Parabola GNU/Linux-Libre release" >> /etc/arch-release
+ rm -f /etc/arch-release
+ echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
}
post_upgrade() {
- sed -e '/Parabola GNU\/Linux-Libre release/d' -i /etc/arch-release
- echo "Parabola GNU/Linux-Libre release" >> /etc/arch-release
+ 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-Libre release/d' -i /etc/arch-release
+ sed -e '/Parabola GNU\/Linux-[Ll]ibre release/d' -i /etc/parabola-release
}