Minor code cleanup
This commit is contained in:
parent
0b438f91ba
commit
194b6b672d
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue