pika-installer-gtk4/data/scripts/begin-install.sh

13 lines
421 B
Bash
Raw Normal View History

2024-01-23 17:01:52 +01:00
#! /bin/bash
if [[ -f /tmp/pika-installer-gtk4-target-manual.txt ]]
then
2024-01-24 14:55:08 +01:00
sudo /usr/lib/pika/pika-installer-gtk4/scripts/manual-partition-install.sh
2024-01-23 17:01:52 +01:00
else
if [[ -f /tmp/pika-installer-gtk4-target-auto.txt ]]
then
2024-01-24 14:55:08 +01:00
sudo /usr/lib/pika/pika-installer-gtk4/scripts/automatic-partition-install.sh
2024-01-23 17:01:52 +01:00
else
2024-01-23 19:46:00 +01:00
echo "critical installer error" && exit 1 && touch /tmp/pika-installer-gtk4-fail.txt
2024-01-23 17:01:52 +01:00
fi
fi