: nply/foundationpkgs

commit 54bc58b22cc8d769450ec122c37dca4d1557c4b2
parent 8ac824a86e033c73a59d3993f5decdfa3fc47cbf
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 11 Sep 2026 20:04:40 +0530

Use pacscript suffix for generated pacstall files
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/pacstall-install.sh b/scripts/pacstall-install.sh
@@ -26,12 +26,12 @@ if [ -f "$pkgdir/$base.pacscript" ]; then
 	exec pacstall -P -I "$pkgdir/$base.pacscript"
 fi
 if [ -f "$pkgdir/PKGBUILD" ]; then
-	tmp=$(mktemp -t fpkgs-pacscript.XXXXXX)
+	tmp=$(mktemp -t fpkgs-pacscript.XXXXXX.pacscript)
 	cp "$pkgdir/PKGBUILD" "$tmp"
 	exec pacstall -P -I "$tmp"
 fi
 
-tmp=$(mktemp -t fpkgs-pacscript.XXXXXX)
+tmp=$(mktemp -t fpkgs-pacscript.XXXXXX.pacscript)
 trap 'rm -f "$tmp"' EXIT
 "$SELF_DIR/apkbuild-to-pacscript.sh" "$apkbuild" >"$tmp"
 pacstall -P -I "$tmp"