summaryrefslogtreecommitdiff
path: root/libre/lsb-release/lsb-release.install
blob: 62d404892a46e82f14257062f6fe4ccd970ba2e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  rm -f /etc/arch-release
  echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
}

post_upgrade() {
  rm -f /etc/arch-release
  sed -e '/Parabola GNU\/Linux-[Ll]ibre release/d' -i /etc/parabola-release
  echo "Parabola GNU/Linux-libre release" >> /etc/parabola-release
}

pre_remove() {
  sed -e '/Parabola GNU\/Linux-[Ll]ibre release/d' -i /etc/parabola-release
}