install flatpak repositories if flatpak is installed

parent 59eb2dd7
......@@ -8,6 +8,11 @@ if [ ! -h /lib ]; then
mv /usr/lib/live/config/* /lib/live/config/
echo "Installing flatpak repositories (if needed)"
flatpak remote-add --if-not-exists flathub || true
flatpak remote-add --if-not-exists winepak || true
echo "Removing useless stuff"
apt-get purge -y qt4-designer qttools5-dev-tools texlive-latex-extra-doc texlive-pstricks-doc texlive-pictures-doc texlive-latex-recommended-doc texlive-latex-base-doc texlive-fonts-recommended-doc texlive-pstricks-doc python-mpltoolkits.basemap-data leafpad xpra ferret minicom xpdf gvim openjdk-10-* llvm-7-dev libpython3.6-dev python-scipy python-all python-all-dev || true
......@@ -2,6 +2,3 @@
set -e
export DEBIAN_FRONTEND=noninteractive
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:~/.local/bin:/snap/bin:$PATH
flatpak remote-add --if-not-exists flathub
flatpak remote-add --if-not-exists winepak
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment