From fdc547c4bc8e072c5cc91825b8d2f5406191cf1a Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 16 Dec 2020 17:55:06 -0500 Subject: [PATCH] Fix Launcher On Mobian (PinePhone) --- debian/client/common/usr/bin/minecraft-pi | 2 +- scripts/package.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/client/common/usr/bin/minecraft-pi b/debian/client/common/usr/bin/minecraft-pi index bc5c3324..f86ede8e 100755 --- a/debian/client/common/usr/bin/minecraft-pi +++ b/debian/client/common/usr/bin/minecraft-pi @@ -42,7 +42,7 @@ export MCPI_USERNAME # Ensure Groups Are Correct if ! id -Gn "$(whoami)" | grep '\bdocker\b' > /dev/null; then - pkexec usermod -aG docker "$(whoami)" + pkexec /sbin/usermod -aG docker "$(whoami)" fi # Allow X11 Connections From Root diff --git a/scripts/package.sh b/scripts/package.sh index c6d49e14..b659cc54 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -6,7 +6,7 @@ DEB_VERSION='1.0.0' # Dependencies REQUIRED_DOCKER_VERSION='19.03' COMMON_DEPENDENCIES="docker.io (>=${REQUIRED_DOCKER_VERSION}) | docker-ce (>=${REQUIRED_DOCKER_VERSION}), libseccomp2 (>=2.4.2), docker-compose, qemu-user-static, binfmt-support" -CLIENT_DEPENDENCIES="zenity, policykit-1, passwd, login" +CLIENT_DEPENDENCIES="zenity, policykit-1, passwd, login, x11-xserver-utils" set -e