From e7132de39ba0f0d2eab5d48bced1e3213bdb5156 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 13 Jun 2023 00:58:00 +0200 Subject: [PATCH] changes --- setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index fbac67b..afae091 100644 --- a/setup.sh +++ b/setup.sh @@ -63,8 +63,9 @@ message "Continue with installation..." message "check sources.list" if ! grep "contrib" /etc/apt/sources.list > /dev/null && grep "non-free" /etc/apt/sources.list > /dev/null then - message error "please activate 'contrib' and 'non-free' in your sources.ist" - exit 1 + message warn "'contrib' and 'non-free' not in your sources.ist, i will deploy my own" + echo "" | sudo tee /etc/apt/sources.list + fi # iterate through $packages for categorie in $package_categories @@ -105,7 +106,7 @@ do message "linking ~/.mozilla to flatpak env" mkdir -p $HOME/.mozilla mkdir -p $HOME/.var/app/org.mozilla.firefox/ - ln -s $HOME/.mozilla HOME/.var/app/org.mozilla.firefox/.mozilla + ln -s $HOME/.mozilla $HOME/.var/app/org.mozilla.firefox/.mozilla message "placing font fix for firefox flatpak" mkdir -p $HOME/.var/app/org.mozilla.firefox/config/fontconfig/