From 9ede8155480ed22e164394ee2f23ff8c44d5d152 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 19:31:14 -0400 Subject: [PATCH] Create temp deb for _apt --- installJRMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index a232137..46a0776 100755 --- a/installJRMC +++ b/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"