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,12 +53,10 @@ case $2 in
|
||||
POST-INSTALL)
|
||||
if [ ! -d $CONFIG_DIR ]; then
|
||||
do_install $1
|
||||
elif [ ! -f $CONFIG_DIR/Muttrc ]; then
|
||||
do_install $!
|
||||
else
|
||||
if [ ! -f $CONFIG_DIR/Muttrc ]; then
|
||||
do_install $!
|
||||
else
|
||||
do_notice $1
|
||||
fi
|
||||
do_notice $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user