summaryrefslogtreecommitdiffstats
path: root/lsb-release/lsb-release.install
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-06-06 22:11:50 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-06-06 22:11:50 +0200
commita9ee1222f4150f1f898a5b72c4ca6bd7cb1aea89 (patch)
tree48724439d003ca6251274e8e39af15d59f0f3cea /lsb-release/lsb-release.install
parent7df858d9ff2f0eb811a3fbbc0ee2ea75f628ebbb (diff)
downloadaur-packages-a9ee1222f4150f1f898a5b72c4ca6bd7cb1aea89.tar.gz
aur-packages-a9ee1222f4150f1f898a5b72c4ca6bd7cb1aea89.tar.xz
updates
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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
}