debian-sources/test.sh

11 lines
201 B
Bash
Raw Normal View History

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