mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-10 00:44:06 -04:00
chddeck.sh: Hotfix 7z compression (#1175)
Compression tool was not deleting the original files.
This commit is contained in:
parent
97b688709a
commit
19482556dc
|
@ -192,7 +192,7 @@ compress7z() {
|
|||
7z a -mx=9 "${file%.*}.7z" "$file" && successful="true"
|
||||
if [[ $successful == "true" ]]; then
|
||||
echo "$file succesfully compressed to ${file%.*}.7z"
|
||||
rm -f "${file%%.*}.$ext"
|
||||
rm -f "$file"
|
||||
else
|
||||
echo "error converting $file"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue