summaryrefslogtreecommitdiffstats
path: root/lsb-release/lsb-release.install
diff options
context:
space:
mode:
Diffstat (limited to 'lsb-release/lsb-release.install')
-rw-r--r--lsb-release/lsb-release.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/lsb-release/lsb-release.install b/lsb-release/lsb-release.install
index a5ed0bd..3459fe7 100644
--- a/lsb-release/lsb-release.install
+++ b/lsb-release/lsb-release.install
@@ -2,6 +2,11 @@ post_install() {
echo "Arch Linux release" >> /etc/arch-release
}
+post_upgrade() {
+ sed -e "/Arch Linux release/d" -i /etc/arch-release
+ echo "Arch Linux release" >> /etc/arch-release
+}
+
pre_remove() {
sed -e "/Arch Linux release/d" -i /etc/arch-release
}