parent
216e07bfe0
commit
7dd5d6d72d
@ -475,7 +475,7 @@ termux_step_extract_package() {
|
||||
rm -Rf $folder
|
||||
unzip -q "$file"
|
||||
else
|
||||
folder=`tar tf "$file" | head -1 | sed -e 's/\/.*//'`
|
||||
folder=`tar tf "$file" | head -1 | sed 's/^.\///' | sed -e 's/\/.*//'`
|
||||
rm -Rf $folder
|
||||
tar xf "$file"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user