Commit 676c725d authored by Vitaly Lipatov's avatar Vitaly Lipatov

drop unrar and unzip requires

parent b8520a79
...@@ -30,7 +30,7 @@ conv_zip_to_tar() ...@@ -30,7 +30,7 @@ conv_zip_to_tar()
mkdir $1.tmpdir || fatal mkdir $1.tmpdir || fatal
cd $1.tmpdir || fatal cd $1.tmpdir || fatal
# unzip or remove broken file # unzip or remove broken file
unzip -q "$RZ" && tar cf "$RT" ./* || { rm -fv "$RT" ; return 1; } a= unzip -q "$RZ" && tar cf "$RT" ./* || { rm -fv "$RT" ; return 1; }
cd .. cd ..
rm -rf $1.tmpdir rm -rf $1.tmpdir
} }
...@@ -45,7 +45,7 @@ conv_rar_to_tar() ...@@ -45,7 +45,7 @@ conv_rar_to_tar()
mkdir $1.tmpdir || fatal mkdir $1.tmpdir || fatal
cd $1.tmpdir || fatal cd $1.tmpdir || fatal
# unzip or remove broken file # unzip or remove broken file
unrar x "$RZ" && tar cf "$RT" ./* || { rm -fv "$RT" ; return 1; } a= unrar x "$RZ" && tar cf "$RT" ./* || { rm -fv "$RT" ; return 1; }
cd .. cd ..
rm -rf $1.tmpdir rm -rf $1.tmpdir
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment