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

post_upgrade() {
  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
}