p≡p engine fork for my own dirty testing of stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
177 B

if [[ $EUID > 0 ]]
then echo "This script must be run with sudo."
mkdir -p /run/user/$(id -u $SUDO_USER)
chown $SUDO_USER /run/user/$(id -u $SUDO_USER)