remove extra if loop and replace with elif
This commit is contained in:
parent
029ccd5c7f
commit
2722ffd6b2
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.2 2000/08/04 17:55:26 brad Exp $
|
||||
# $OpenBSD: INSTALL,v 1.3 2000/08/09 00:45:27 brad Exp $
|
||||
#
|
||||
# Pre/post-installation setup of mutt
|
||||
|
||||
@ -53,13 +53,11 @@ case $2 in
|
||||
POST-INSTALL)
|
||||
if [ ! -d $CONFIG_DIR ]; then
|
||||
do_install $1
|
||||
else
|
||||
if [ ! -f $CONFIG_DIR/Muttrc ]; then
|
||||
elif [ ! -f $CONFIG_DIR/Muttrc ]; then
|
||||
do_install $!
|
||||
else
|
||||
do_notice $1
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user