Commit e6d6c6b4 authored by Boria138's avatar Boria138 Committed by Vitaly Lipatov

epm play: Added flatpak support

parent 56adcf47
#!/bin/sh
[ "$1" != "--run" ] && echo "Add flatpak support to system" && exit
. $(dirname $0)/common.sh
assure_root
[ "$(epm print info -s)" = "alt" ] || fatal "Only ALTLinux is supported"
# Мсправляет ошибку "enabling unprivileged user namespaces" без перезагрузки
a= sysctl -w kernel.unprivileged_userns_clone=1
epm install flatpak flatpak-repo-flathub sysctl-conf-userns
if epm installed plasma5-discover ; then
epm install plasma5-discover-flatpak
fi
echo "Flatpak successfully installed, but epm play is the preferred way to install the software."
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