You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.sh
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ _usage () {
171
171
echo
172
172
echo" Many packages are installed from AUR, so specifying --noaur can cause problems."
173
173
echo
174
-
if[[ -n"${1:-}" ]];thenexit"${1}";fi
174
+
[[ -n"${1:-}" ]]&&exit"${1}"
175
175
}
176
176
177
177
# Unmount helper Usage: _umount <target>
@@ -363,13 +363,13 @@ prepare_env() {
363
363
fi
364
364
_result=0
365
365
done
366
-
if[[ "${_check_failed}"=true ]];thenexit 1;fi
366
+
[[ "${_check_failed}"=true ]]&&exit 1
367
367
fi
368
368
369
369
# Load loop kernel module
370
370
if [[ "${noloopmod}"=false ]];then
371
-
if[[ !-d"/usr/lib/modules/$(uname -r)" ]];then msg_error "The currently running kernel module could not be found.\nProbably the system kernel has been updated.\nReboot your system to run the latest kernel.""1";fi
[[ !-d"/usr/lib/modules/$(uname -r)" ]]&& msg_error "The currently running kernel module could not be found.\nProbably the system kernel has been updated.\nReboot your system to run the latest kernel.""1"
0 commit comments