mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
squash some bugs
This commit is contained in:
parent
92b10cc0f6
commit
c7911dc0a7
@ -276,13 +276,13 @@ check_flags() {
|
|||||||
if [ ! -d "$dl_dir" ]; then
|
if [ ! -d "$dl_dir" ]; then
|
||||||
mkdir -p "$dl_dir" || die "Error creating directory: $dl_dir"
|
mkdir -p "$dl_dir" || die "Error creating directory: $dl_dir"
|
||||||
fi
|
fi
|
||||||
args+=(-d "$dl_dir")
|
args+=(-d"$dl_dir")
|
||||||
fi
|
fi
|
||||||
if ((IS_DOWNLOAD)); then
|
if ((IS_DOWNLOAD)); then
|
||||||
args+=(-d)
|
args+=(-d)
|
||||||
fi
|
fi
|
||||||
if ((IS_PLAY_FROM_FILE)); then
|
if ((IS_PLAY_FROM_FILE)); then
|
||||||
args+=(-f "$play_path")
|
args+=(-f"$play_path")
|
||||||
fi
|
fi
|
||||||
if ((IS_ALTERNATE_PLAYER)); then
|
if ((IS_ALTERNATE_PLAYER)); then
|
||||||
args+=(-p "$PLAYER_FN")
|
args+=(-p "$PLAYER_FN")
|
||||||
@ -294,9 +294,9 @@ check_flags() {
|
|||||||
args+=(-S)
|
args+=(-S)
|
||||||
fi
|
fi
|
||||||
if ((IS_CUSTOM_THEME)); then
|
if ((IS_CUSTOM_THEME)); then
|
||||||
args+=(-T "$CFG_FILE")
|
args+=(-T"$CFG_FILE")
|
||||||
elif ((!IS_CUSTOM_THEME)); then
|
elif ((!IS_CUSTOM_THEME)); then
|
||||||
args+=(-t "$theme")
|
args+=(-t"$theme")
|
||||||
fi
|
fi
|
||||||
if ((IS_VERBOSE)); then
|
if ((IS_VERBOSE)); then
|
||||||
args+=(-v)
|
args+=(-v)
|
||||||
|
Loading…
Reference in New Issue
Block a user