#!/bin/sh if [ -d ~/.var/app/org.mozilla.firefox/.mozilla/firefox/biual.default ]; then if [ ! -f ~/.var/app/org.mozilla.firefox/.mozilla/firefox/biual.default/updater.sh ]; then curl https://raw.githubusercontent.com/arkenfox/user.js/master/updater.sh > ~/.var/app/org.mozilla.firefox/.mozilla/firefox/biual.default/updater.sh chmod +x ~/.var/app/org.mozilla.firefox/.mozilla/firefox/biual.default/updater.sh fi ~/.var/app/org.mozilla.firefox/.mozilla/firefox/biual.default/updater.sh -su if ! (flatpak ps | grep -q "org.mozilla.firefox" && pgrep firefox 1>/dev/null 2>&1) then arkenfox-prefscleaner fi fi