From b822481ea012f5cae162f8f8262f865dd5bfca02 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Tue, 23 Jan 2024 19:01:52 +0300 Subject: [PATCH] scripts --- data/scripts/begin-install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 data/scripts/begin-install.sh 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