diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-13 20:45:48 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-13 20:45:55 +0200 |
commit | db656c928524eed059ecf3d418efdea0d923072c (patch) | |
tree | 61615486d7225e3c7c369fbcb2e9c2f7d49104b0 /dist/archlinux/stable/alarm.install | |
parent | update dist (diff) | |
download | alarm-db656c928524eed059ecf3d418efdea0d923072c.tar.gz alarm-db656c928524eed059ecf3d418efdea0d923072c.tar.bz2 alarm-db656c928524eed059ecf3d418efdea0d923072c.tar.xz |
Improve style and license
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dist/archlinux/stable/alarm.install')
-rw-r--r-- | dist/archlinux/stable/alarm.install | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dist/archlinux/stable/alarm.install b/dist/archlinux/stable/alarm.install deleted file mode 100644 index a73b865..0000000 --- a/dist/archlinux/stable/alarm.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="alarm" - -infodir="usr/share/info" -file="${_file}.info" - - -post_install() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - -post_upgrade() { - post_install "$1" -} - -pre_remove() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - |