summaryrefslogtreecommitdiff
path: root/libre/lsb-release/lsb-release.install
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-07-04 21:52:02 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-07-04 21:52:02 -0600
commitcd298e9e8d80d387472058ff4b089f0ee509d644 (patch)
treed00e711db4fa42f10698791204a1e64ba5611f3c /libre/lsb-release/lsb-release.install
parent64e1664807a6e37d4fdfc35d271028104b54c4a1 (diff)
parent91bd98130ae07e48bd945b0b87e51a117c29ad6f (diff)
updating my branches
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
+}