diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2011-11-28 18:38:05 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2011-11-28 18:38:05 +0100 |
commit | 200243aa19586c8aefd03ffc370d085031d3a024 (patch) | |
tree | f385c2789f401d9d588c50ff9db35cecdf72e1d8 /libre/lsb-release-libre/lsb-release.install | |
parent | 07bbe9c29c96e445f19790619a261e6e61c523e0 (diff) | |
download | abslibre-200243aa19586c8aefd03ffc370d085031d3a024.tar.gz abslibre-200243aa19586c8aefd03ffc370d085031d3a024.tar.bz2 abslibre-200243aa19586c8aefd03ffc370d085031d3a024.zip |
lsb-release with Parabola branding.
Diffstat (limited to 'libre/lsb-release-libre/lsb-release.install')
-rw-r--r-- | libre/lsb-release-libre/lsb-release.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/lsb-release-libre/lsb-release.install b/libre/lsb-release-libre/lsb-release.install new file mode 100644 index 000000000..6ce4fee54 --- /dev/null +++ b/libre/lsb-release-libre/lsb-release.install @@ -0,0 +1,12 @@ +post_install() { + echo "Parabola GNU/Linux-Libre release" >> /etc/arch-release +} + +post_upgrade() { + sed -e '/Parabola GNU\/Linux-Libre release/d' -i /etc/arch-release + echo "Parabola GNU/Linux-Libre release" >> /etc/arch-release +} + +pre_remove() { + sed -e '/Parabola GNU\/Linux-Libre release/d' -i /etc/arch-release +} |