mirror of
https://github.com/Pakobbix/passive-income.git
synced 2025-11-09 14:59:40 +00:00
Added question to delete old Firefox Profile if found
(rerunning script after a failure)
This commit is contained in:
parent
539422e8e7
commit
ef35f52b33
@ -184,8 +184,13 @@ Dieser soll im Hintergrund die Werbeseiten aufrufen."
|
|||||||
if [ -d ~/ebesucher ]; then
|
if [ -d ~/ebesucher ]; then
|
||||||
skip "Ordner ebesucher exestiert bereits"
|
skip "Ordner ebesucher exestiert bereits"
|
||||||
if ! [ -f ~/ebesucher/config.zip ]; then
|
if ! [ -f ~/ebesucher/config.zip ]; then
|
||||||
|
if whiptail --title "Alte config gefunden" --yesno "Es wurde bereits ein Firefox Profil angelegt, soll dieses gelöscht und überschrieben werden?" 20 100; then
|
||||||
|
rm -f ~/ebesucher/config.zip
|
||||||
wget -O ~/ebesucher/config.zip https://github.com/Pakobbix/passive-income/raw/master/config.zip
|
wget -O ~/ebesucher/config.zip https://github.com/Pakobbix/passive-income/raw/master/config.zip
|
||||||
unzip ~/ebesucher/config.zip -d ~/ebesucher/
|
unzip ~/ebesucher/config.zip -d ~/ebesucher/
|
||||||
|
else
|
||||||
|
unzip ~/ebesucher/config.zip -d ~/ebesucher/
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$linux_user" == "root" ]; then
|
if [ "$linux_user" == "root" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user