Browse Source

Arch work

bryan 2 years ago
parent
commit
6aefd2bd49
1 changed files with 3 additions and 1 deletions
  1. 3 1
      installJRMC

+ 3 - 1
installJRMC

@@ -839,7 +839,7 @@ installMesa() {
 installMCARCH() {
     debug "Running: ${FUNCNAME[0]}"
     echo "Arch install under construction"
-    [[ ! -d "$OUTPUTDIR/PKGBUILD/" ]] && mkdir -p "$OUTPUTDIR/PKGBUILD"
+    [[ -d "$OUTPUTDIR/PKGBUILD" ]] || mkdir -p "$OUTPUTDIR/PKGBUILD"
     cat <<-EOF > "$OUTPUTDIR/PKGBUILD/mediacenter.pkgbuild"
 		pkgname=mediacenter$MVERSION
 		pkgver=$MCVERSION
@@ -1721,6 +1721,8 @@ main() {
         fi
     fi
 
+    debug "BUILD_SWITCH: $BUILD_SWITCH"
+
     if (( BUILD_SWITCH )); then
         installPackage "wget"
         acquireDeb