Files
CELESTIFYX 08abac9e7d
Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
Refactoring repository...
2025-01-14 19:02:06 +02:00

11 lines
326 B
Bash
Executable File

#!/bin/bash
# Check if pkexec exists and is executable
if command -v pkexec &>/dev/null; then
# Use pkexec to run calamares with administrative privileges
pkexec --disable-internal-agent /usr/bin/calamares "$@"
else
# Fallback to running calamares without administrative privileges
/usr/bin/calamares "$@"
fi