2024-01-23 17:01:52 +01:00
|
|
|
#! /bin/bash
|
|
|
|
|
2024-02-18 20:36:24 +01:00
|
|
|
export LANG=en_US.UTF8
|
|
|
|
|
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-02-19 18:44:10 +01:00
|
|
|
sudo /usr/lib/pika/pika-installer-gtk4/scripts/manual-partition-install.sh || touch /tmp/pika-installer-gtk4-fail.txt
|
2024-01-23 17:01:52 +01:00
|
|
|
else
|
|
|
|
if [[ -f /tmp/pika-installer-gtk4-target-auto.txt ]]
|
|
|
|
then
|
2024-02-19 18:44:10 +01:00
|
|
|
sudo /usr/lib/pika/pika-installer-gtk4/scripts/automatic-partition-install.sh || touch /tmp/pika-installer-gtk4-fail.txt
|
2024-01-23 17:01:52 +01:00
|
|
|
else
|
2024-02-19 18:44:10 +01:00
|
|
|
echo "critical installer error" && touch /tmp/pika-installer-gtk4-fail.txt && exit 1
|
2024-01-23 17:01:52 +01:00
|
|
|
fi
|
2024-01-24 20:27:01 +01:00
|
|
|
fi
|