Skip to content

Commit 803fe65

Browse files
committed
fix how we call the InstallPackages script
1 parent 1c7bb08 commit 803fe65

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/InstallScripts/InstallPrawnOS.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,11 @@ install_packages() {
379379
#handle when we use this for expansion
380380
if [ -z "$TARGET_MOUNT" ]
381381
then
382-
CHROOT_PREFIX=""
382+
INSTALL_PACKAGES_SCRIPT="/${SCRIPTS}/InstallPackages.sh"
383383

384384
else
385385
CHROOT_PREFIX="chroot_wrapper ${TARGET_MOUNT}"
386+
INSTALL_PACKAGES_SCRIPT="${CHROOT_PREFIX} .${SCRIPTS}/InstallPackages.sh"
386387
fi
387388

388389
while true; do
@@ -392,7 +393,7 @@ install_packages() {
392393
case $ins in
393394
[Yy]* )
394395
echo "Installing Packages"
395-
$CHROOT_PREFIX .$SCRIPTS/InstallPackages.sh
396+
$INSTALL_PACKAGES_SCRIPT
396397
desktop=true
397398
break
398399
;;

0 commit comments

Comments
 (0)