debian-sources/test.sh

11 lines
204 B
Bash
Executable File

#!/bin/bash
export RUN_ENV='development'
if [ $UID == 1000 ]; then
./usr/lib/debian-sources/debian-sources.py
else
export SUDO_ASKPASS=${HOME}/.local/bin/scripts/rofi_password.sh
sudo -E -A $0
fi
一个简单的软件源管理工具, 允许用户自动切换主站软件源(国内镜像地址及debian官方源), 以及自行添加/删除第三方软件源。
JavaScript 69.3%
Python 23%
CSS 5.6%
HTML 1.5%
Shell 0.6%