Don't hide the output of mkdir.

This commit is contained in:
bas smit 2012-06-23 11:42:02 +02:00
parent 26f2c22e05
commit 14c7fb3b4c

View file

@ -16,13 +16,9 @@ install_prelude () {
make_prelude_dirs () { make_prelude_dirs () {
printf " Making the required directories.\n$RESET" printf " Making the required directories.\n$RESET"
mkdir $PRELUDE_INSTALL_DIR/vendor $PRELUDE_INSTALL_DIR/personal > /dev/null 2>&1 mkdir $PRELUDE_INSTALL_DIR/vendor $PRELUDE_INSTALL_DIR/personal
mkdir $PRELUDE_INSTALL_DIR/themes $PRELUDE_INSTALL_DIR/snippets > /dev/null 2>&1 mkdir $PRELUDE_INSTALL_DIR/themes $PRELUDE_INSTALL_DIR/snippets
mkdir $PRELUDE_INSTALL_DIR/savefile > /dev/null 2>&1 mkdir $PRELUDE_INSTALL_DIR/savefile
if ! [ $? -eq 0 ]
then
printf "$RED failed to create directories.\n$RESET"
fi
} }
colors () { colors () {