Projects
Extra
discord
discord
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File discord of Package discord
#!/bin/bash #in the file $HOME/.config/discord/settings.json #if the setting SKIP_HOST_UPDATE does not exist add it #otherwise leave it untouched CONFIGFILE=$HOME/.config/discord/settings.json EXE=$(dirname "$0")/../lib64/discord/Discord if [[ -x $EXE ]]; then if [[ -d $HOME/.config && ! -f $CONFIGFILE ]]; then [[ ! -d $HOME/.config/discord ]] && mkdir $HOME/.config/discord echo '{"SKIP_HOST_UPDATE": true}' >$CONFIGFILE elif [[ -f $CONFIGFILE ]]; then ! grep -qF SKIP_HOST_UPDATE $CONFIGFILE && \ sed -i '/^{/s@$@\n "SKIP_HOST_UPDATE": true,@' $CONFIGFILE fi exec $EXE "$@" fi
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.