1 2 3 4 5 6 7 8 9 10 11 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 }