Skip to content

Instantly share code, notes, and snippets.

View seker212's full-sized avatar
🏠
Working from home

Sebastian Skrobich seker212

🏠
Working from home
View GitHub Profile
@seker212
seker212 / post-update-flatpak-script.sh
Created January 13, 2026 12:02
Setup script for custom sdcard flatpak installation location for SteamOS (Steam Deck). This is to be run once after system update, which removes the conf file.
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
installationfile="/etc/flatpak/installations.d/sdcard.conf"
mkdir -p /etc/flatpak/installations.d
if [ ! -f $installationfile ];then