Browse Source

Create temp deb for _apt

bryan 2 days ago
parent
commit
9ede815548
1 changed files with 2 additions and 1 deletions
  1. 2 1
      installJRMC

+ 2 - 1
installJRMC

@@ -983,7 +983,8 @@ install_mc_deb() {
   # Copy the DEB to a temporary file so _apt can read it
   debug "Creating temporary deb file owned byq _apt"
   local temp_deb
-  temp_deb=$(mktemp)
+  temp_deb=$(mktemp --suffix=.deb)
+  execute cp "$MC_DEB" "$temp_deb"
   execute sudo cp "$MC_DEB" "$temp_deb"
   execute sudo chown _apt "$temp_deb"