summaryrefslogtreecommitdiffstats
path: root/lsb-release/lsb-release.install
blob: 3459fe786ada8056184549ea6c59ed37e87ea5ce (plain)
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
}