summaryrefslogtreecommitdiff
path: root/libre/lsb-release-parabola/lsb-release.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 07:04:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-26 07:04:44 -0300
commit224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 (patch)
tree21f0f00d6ca7a856bde8310b4558a527717a6d85 /libre/lsb-release-parabola/lsb-release.install
parent317a3b1d822c252c9f341170cf47a85d72cddde6 (diff)
add parabola suffix on some packages
Diffstat (limited to 'libre/lsb-release-parabola/lsb-release.install')
-rw-r--r--libre/lsb-release-parabola/lsb-release.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/lsb-release-parabola/lsb-release.install b/libre/lsb-release-parabola/lsb-release.install
new file mode 100644
index 000000000..261df2a73
--- /dev/null
+++ b/libre/lsb-release-parabola/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
+}