diff options
author | Peter Pickford | 2016-02-18 01:44:53 -0800 |
---|---|---|
committer | Peter Pickford | 2016-02-18 05:30:13 -0800 |
commit | 90de26a6e4913fc7099717724e7348f90620e9a0 (patch) | |
tree | 166dd14f5a755ae18bbd7e48891cc0f0d20413e8 /mgetty.install | |
parent | 59662e16c4aafd1e71b1a632cfb9e96c0d08ffb1 (diff) | |
download | aur-90de26a6e4913fc7099717724e7348f90620e9a0.tar.gz |
build vgetty instead of mgetty
remove Makefile.patch - not used
fix manpage and info files localtion, update info dir
fix install-info stdin closed problem (use </dev/null)
update md5sums
correct .SRCINFO for mgetty-vgetty
update maintainer and .SRCINFO
Diffstat (limited to 'mgetty.install')
-rw-r--r-- | mgetty.install | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/mgetty.install b/mgetty.install index 6c9cd06237df..47faaf8f5900 100644 --- a/mgetty.install +++ b/mgetty.install @@ -1,16 +1,21 @@ +#!/usr/bin/bash + +infodir=/usr/share/info +filelist=( mgetty.info.gz ) post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir < /dev/null + done /usr/bin/udevadm trigger - if [ -z "`grep '^fax:' /etc/passwd`" ]; then useradd -u 51 -d /var/spool/fax -g root -s /usr/bin/nologin fax fi - chown -R fax:root /var/spool/fax touch /var/log/sendfax.log chown fax.root /var/log/sendfax.log echo --- Please read notes: --- echo Please update files in /etc/mgetty+sendfax/ before starting daemon - echo Daemon is faxrunqd, add to /etc/rc.conf daemon list if you want to + echo enable and start faxrunqd@.service vgetty@.service as needed echo --------------------------- } @@ -18,3 +23,8 @@ post_remove() { userdel fax &> /dev/null /sbin/udevadm trigger } + +post_upgrade() { + post_install $1 +} + |