From 55b5145e7736348f0a8e36e531369a1f45a80b3f Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Sun, 31 Jul 2011 20:04:35 -0500 Subject: [PATCH] lib/install.sh: ensure target directories exist Newer versions of wine do not create some directories that older versions of wine apparently used to create. When the ies4linux scripts try to copy files into these missing directories, they fail. So, pre-create the directories using mkdir -p. --- lib/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/install.sh b/lib/install.sh index 1889a26..632e741 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -155,6 +155,11 @@ subsection $MSG_CREATING_PREFIX if [ -d "$BASEDIR/ie6/$DRIVEC/$WINDOWS/fonts" ]; then FONTS=fonts; fi if [ -d "$BASEDIR/ie6/$DRIVEC/$WINDOWS/inf" ]; then INF=inf;fi if [ -d "$BASEDIR/ie6/$DRIVEC/$WINDOWS/command" ]; then COMMAND=command;fi + + for d in "$FONTS" "$INF" "$COMMAND"; do + mkdir -p "$BASEDIR/ie6/$DRIVEC/$WINDOWS/$d" + done + export DRIVEC WINDOWS SYSTEM FONTS INF COMMAND # symlinking system to system32