mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-12-28 18:11:50 +01:00
replace two if -e with if -f
This commit is contained in:
parent
ce424c9a51
commit
284b0e2a74
@ -3,7 +3,7 @@
|
||||
PATCHIMAGE_VERSION=7.5.0
|
||||
PATCHIMAGE_RELEASE=2016/09/09+
|
||||
|
||||
[[ -e ${HOME}/.patchimage.rc ]] && source "${HOME}"/.patchimage.rc
|
||||
[[ -f ${HOME}/.patchimage.rc ]] && source "${HOME}"/.patchimage.rc
|
||||
|
||||
setup_tools () {
|
||||
|
||||
|
@ -17,7 +17,7 @@ ask_input_image_wiimmfi () {
|
||||
|
||||
for image in "${PWD}"/*.{iso,wbfs} \
|
||||
"${PATCHIMAGE_WBFS_DIR}"/*.{iso,wbfs}; do
|
||||
if [[ -e ${image} && ! ${image} == "*/RMC*" && $(check_wfc "${image##*/}") == TRUE ]]; then
|
||||
if [[ -f ${image} && ! ${image} == "*/RMC*" && $(check_wfc "${image##*/}") == TRUE ]]; then
|
||||
echo " ${image##*/} $(show_titles_db "${image##*/}")"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user