diff options
author | Codist | 2020-11-04 16:53:20 +0800 |
---|---|---|
committer | Codist | 2020-11-04 16:53:20 +0800 |
commit | 3b8973bea71c808654660613cea50c90913dd7f2 (patch) | |
tree | 6dd90b616d1ad8d03a1777ef736fa5617ab93233 /run.sh | |
parent | 4bb7158ddd453d08c4254da689bf8d7f4cb87ca2 (diff) | |
download | aur-3b8973bea71c808654660613cea50c90913dd7f2.tar.gz |
set the deepin package mirror to 'ftp.sjtu.edu.cn'
Signed-off-by: Codist <countstarlight@gmail.com>
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -138,6 +138,9 @@ SwitchToDeepinWine() if [ -f "$WINEPREFIX/deepin" ]; then WINE_CMD="deepin-wine" if [[ -z "$(ps -e | grep -o gsd-xsettings)" ]] && [[ -z "$(ps -e | grep -o xsettingsd)" ]]; then + if [[ ! -f "$HOME/.xsettingsd" ]] && [[ ! -f "$HOME/.config/xsettingsd/xsettingsd.conf" ]] && [[ ! -f "/etc/xsettingsd/xsettingsd.conf" ]]; then + mkdir -p "$HOME/.config/xsettingsd" && touch "$HOME/.config/xsettingsd/xsettingsd.conf" + fi /usr/bin/xsettingsd & fi fi |