This commit is contained in:
Marcus 2023-06-13 00:58:00 +02:00
parent 265e2ccf78
commit e7132de39b

View file

@ -63,8 +63,9 @@ message "Continue with installation..."
message "check sources.list" message "check sources.list"
if ! grep "contrib" /etc/apt/sources.list > /dev/null && grep "non-free" /etc/apt/sources.list > /dev/null if ! grep "contrib" /etc/apt/sources.list > /dev/null && grep "non-free" /etc/apt/sources.list > /dev/null
then then
message error "please activate 'contrib' and 'non-free' in your sources.ist" message warn "'contrib' and 'non-free' not in your sources.ist, i will deploy my own"
exit 1 echo "" | sudo tee /etc/apt/sources.list
fi fi
# iterate through $packages # iterate through $packages
for categorie in $package_categories for categorie in $package_categories
@ -105,7 +106,7 @@ do
message "linking ~/.mozilla to flatpak env" message "linking ~/.mozilla to flatpak env"
mkdir -p $HOME/.mozilla mkdir -p $HOME/.mozilla
mkdir -p $HOME/.var/app/org.mozilla.firefox/ 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" message "placing font fix for firefox flatpak"
mkdir -p $HOME/.var/app/org.mozilla.firefox/config/fontconfig/ mkdir -p $HOME/.var/app/org.mozilla.firefox/config/fontconfig/