File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function install_symlinks() {
1717
1818function create_dir() {
1919 [[ -d $1 ]] && rm -rf $1
20- g_spin minidot " Creating directory..." mkdir -p $1
20+ g_spin minidot " Creating directory \" $1 \" ..." mkdir -p $1
2121}
2222
2323create_dir $INSTALL_DIR
Original file line number Diff line number Diff line change @@ -166,6 +166,11 @@ install() {
166166
167167 # Start Extracting
168168 LOG " Extracting $name .tar.$ext "
169+
170+ # create $name directory
171+ mkdir -p $name
172+
173+ # call proot extract
169174 p_extract --file " $DLCACHE /$name .tar.$ext " --path " $DEFAULT_FS_INSTALL_DIR /$name "
170175 else
171176 download " $name .tar.$ext " " $link " " $path "
@@ -200,7 +205,7 @@ download() {
200205
201206 LOG " download() args => name=$name link=$link path=$path "
202207
203- wget -q --show-progress --progress=bar:force -O ${path} /$name " $link " 2>&1 | progressfilt | | {
208+ wget -q --show-progress --progress=bar:force -O ${path} /$name " $link " 2>&1 || {
204209 ELOG " failed to download $name "
205210 echo " failed to download $name "
206211 exit 1
You can’t perform that action at this time.
0 commit comments