debian-sources/test.sh

11 lines
204 B
Bash
Raw Permalink Normal View History

2023-08-08 17:52:42 +08:00
#!/bin/bash
export RUN_ENV='development'
2023-08-16 10:50:50 +08:00
if [ $UID == 1000 ]; then
2023-08-08 17:52:42 +08:00
./usr/lib/debian-sources/debian-sources.py
else
export SUDO_ASKPASS=${HOME}/.local/bin/scripts/rofi_password.sh
sudo -E -A $0
fi