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

16 lines
467 B
Bash
Raw Normal View History

2024-01-23 17:01:52 +01:00
#! /bin/bash
2024-01-24 20:27:01 +01:00
exec &> >(tee /tmp/pika-installer-gtk4-log)
2024-01-23 17:01:52 +01:00
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
2024-01-24 20:27:01 +01:00
fi