From e4eae9851dfb574af60bd754918dca49eeb3dc7c Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 27 Oct 2011 18:26:05 -0400 Subject: [PATCH] make all leading dirs to aptcache as well --- cmdsettings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdsettings.sh b/cmdsettings.sh index 3c10414..3466c78 100644 --- a/cmdsettings.sh +++ b/cmdsettings.sh @@ -22,4 +22,4 @@ if [ "${family#nd+}" = "ubuntu" ]; then mirror="http://ubuntu.media.mit.edu/ubuntu" fi -if [ ! -d $aptcache ]; then mkdir $aptcache; fi +if [ ! -d $aptcache ]; then mkdir -p $aptcache; fi -- 2.39.2