mirror of
https://github.com/KDE/kde-linux.git
synced 2026-05-19 22:08:05 -04:00
Fixup Live env part 1.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
# SPDX-FileCopyrightText: 2023 Harald Sitter <sitter@kde.org>
|
||||
# SPDX-FileCopyrightText: 2026 Hadi Chokr <hadichokr@icloud.com>
|
||||
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
exec pkexec /usr/local/bin/calamares "$@"
|
||||
exec pkexec /opt/local/bin/calamares "$@"
|
||||
fi
|
||||
|
||||
export KDE_FULL_SESSION=TRUE
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/calamares</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/opt/local/bin/calamares</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
|
||||
Reference in New Issue
Block a user