Minor code cleanup

This commit is contained in:
PedoDeveloper 2024-11-11 13:05:32 +00:00
parent 0b438f91ba
commit 194b6b672d

View file

@ -18,9 +18,7 @@ check_dependencies() {
if ! mkdir -p "$archive_dir"; then
echo "ERROR: Unable to create archive directory"
exit 1
fi
if ! command -v 7z 2>&1 >/dev/null; then
elif ! command -v 7z 2>&1 >/dev/null; then
echo "ERROR: 7z must be installed"
exit 1
fi