diff options
Diffstat (limited to 'community/lsb-release/lsb-release.install')
-rw-r--r-- | community/lsb-release/lsb-release.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/lsb-release/lsb-release.install b/community/lsb-release/lsb-release.install new file mode 100644 index 000000000..3459fe786 --- /dev/null +++ b/community/lsb-release/lsb-release.install @@ -0,0 +1,12 @@ +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 +} |