summaryrefslogtreecommitdiff
path: root/libre/lsb-release/lsb-release.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 06:41:22 -0300
commitfcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch)
tree2634d6d68316f3f4dd51f378e826da884a919288 /libre/lsb-release/lsb-release.install
parentc5822ca785d156da9849d5e25dc79a93d1fac22d (diff)
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/lsb-release/lsb-release.install')
-rw-r--r--libre/lsb-release/lsb-release.install12
1 files changed, 12 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..261df2a73
--- /dev/null
+++ b/libre/lsb-release/lsb-release.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
+}
+
+post_upgrade() {
+ 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
+}