summaryrefslogtreecommitdiff
path: root/libre/lsb-release/lsb-release.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-19 19:23:32 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-19 19:23:32 -0300
commit8461f52e10f38b71f001ec6d9db791b2731b0599 (patch)
tree54c57a67dd310c64286e43e1e73f34bbda1edbea /libre/lsb-release/lsb-release.install
parentef4130fb1c079177bc3ab23a419b5f0b7c79fb35 (diff)
parentbeed904d2232006ccb3a28d1a2445cbde4c69c43 (diff)
downloadabslibre-8461f52e10f38b71f001ec6d9db791b2731b0599.tar.gz
abslibre-8461f52e10f38b71f001ec6d9db791b2731b0599.tar.bz2
abslibre-8461f52e10f38b71f001ec6d9db791b2731b0599.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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
+}