Skip to content

Instantly share code, notes, and snippets.

@mwleeds
Last active August 14, 2018 19:55
Show Gist options
  • Save mwleeds/1d9b029fcf6761c27f44bb9b5482aef7 to your computer and use it in GitHub Desktop.
Save mwleeds/1d9b029fcf6761c27f44bb9b5482aef7 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -o xtrace
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root (use sudo)"
exit 1
fi
# The version installed might be from the Dev repo
for i in `seq 10`; do
if flatpak uninstall com.endlessm.wiki_art.en; then
break
fi
done
for i in `seq 10`; do
if flatpak install -y eos-apps com.endlessm.wiki_art.en; then
break
fi
done
ostree summary -u
eos-updater-ctl server enable
systemctl restart eos-updater
systemctl start eos-updater-avahi
systemctl start eos-update-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment