diff --git a/data/scripts/begin-install.sh b/data/scripts/begin-install.sh new file mode 100644 index 0000000..ff3627a --- /dev/null +++ b/data/scripts/begin-install.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +if [[ -f /tmp/pika-installer-gtk4-target-manual.txt ]] +then + sudo /usr/lib/pika/pika-installer-gtk4/scripts/manual-partition-install.sh +else + if [[ -f /tmp/pika-installer-gtk4-target-auto.txt ]] + then + sudo /usr/lib/pika/pika-installer-gtk4/scripts/automatic-partition-install.sh + else + echo "critical installer error" && exit 1 + fi +fi \ No newline at end of file