pika-installer-gtk4/data/scripts/begin-install.sh
Ward from fusion-voyager-3 87ae8a7c37 RR: Fix the new bs issues
2024-02-19 20:46:39 +03:00

18 lines
577 B
Bash

#! /bin/bash
export LANG=en_US.UTF8
exec &> >(tee /tmp/pika-installer-gtk4-log)
if [[ -f /tmp/pika-installer-gtk4-target-manual.txt ]]
then
sudo /usr/lib/pika/pika-installer-gtk4/scripts/manual-partition-install.sh || touch /tmp/pika-installer-gtk4-fail.txt
else
if [[ -f /tmp/pika-installer-gtk4-target-auto.txt ]]
then
sudo /usr/lib/pika/pika-installer-gtk4/scripts/automatic-partition-install.sh || touch /tmp/pika-installer-gtk4-fail.txt
else
echo "critical installer error" && touch /tmp/pika-installer-gtk4-fail.txt && exit 1
fi
fi