Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
rbdoom3bfg
rbdoom3bfg.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rbdoom3bfg.sh of Package rbdoom3bfg
#!/bin/sh show_missing_files_dialog() { echo "$MISSING_FILES_MESSAGE" zenity --notification\ --window-icon="info" \ --text="$MISSING_FILES_MESSAGE" } GAME_LOCAL_DIR=$HOME/.rbdoom3bfg GAME_LOCAL_BASE_DIR=$GAME_LOCAL_DIR/base GAME_LOCAL_DEFAULT_CFG=$GAME_LOCAL_BASE_DIR/default.cfg MISSING_FILES_MESSAGE="No data files found. Please copy your DOOM 3 data files to: $GAME_LOCAL_BASE_DIR" mkdir -p "$GAME_LOCAL_DIR" if [ -d "$GAME_LOCAL_BASE_DIR" ]; then if [ -f "$GAME_LOCAL_DEFAULT_CFG" ]; then cd "$GAME_LOCAL_DIR" || exit exec /usr/libexec/rbdoom3bfg/rbdoom3bfg "$@" else show_missing_files_dialog fi else show_missing_files_dialog fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor