diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 10:48:32 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 10:48:56 +0100 |
commit | 144745e231279348630833d9a99adea7dae9370b (patch) | |
tree | 90c0bd15de1c26defd647db876e69b570f99c9b3 /pcr/tcpcrypt/tcpcrypt.install | |
parent | 7b9255e28c6303f97c980e9d159c1b1193999303 (diff) | |
download | abslibre-144745e231279348630833d9a99adea7dae9370b.tar.gz abslibre-144745e231279348630833d9a99adea7dae9370b.tar.bz2 abslibre-144745e231279348630833d9a99adea7dae9370b.zip |
pcr/tcpcrypt: updated to 0.5
Diffstat (limited to 'pcr/tcpcrypt/tcpcrypt.install')
-rw-r--r-- | pcr/tcpcrypt/tcpcrypt.install | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/pcr/tcpcrypt/tcpcrypt.install b/pcr/tcpcrypt/tcpcrypt.install deleted file mode 100644 index bcfccbe9a..000000000 --- a/pcr/tcpcrypt/tcpcrypt.install +++ /dev/null @@ -1,27 +0,0 @@ -post_install() { -libtool --finish /usr/lib -JAIL_DIR=/var/run/tcpcryptd -JAIL_USER=tcpcryptd - if [ ! -d "$JAIL_DIR" ] - then - echo "Creating jail directory $JAIL_DIR" - (umask 077 && mkdir $JAIL_DIR) - fi - - id $JAIL_USER >/dev/null 2>&1 - if [ $? -ne 0 ] - then - echo "Creating user and group '$JAIL_USER'" - useradd -s /nonexistent -d /nonexistent -M -U $JAIL_USER - fi -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - userdel tcpcryptd &>/dev/null - groupdel tcpcryptd &>/dev/null - rm -rf /var/run/tcpcryptd -}
\ No newline at end of file |