Skip to content

Commit

Permalink
Update Hexen 2 shell scripts to check for existence of interfering li…
Browse files Browse the repository at this point in the history
…bs prior to deletion
  • Loading branch information
Slayer366 committed Feb 15, 2024
1 parent c4394b6 commit 12ad44e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/hexen2/Hexen 2 - Portal of Praevus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ESUDO chmod 666 /dev/uinput

# System (Also prepare runtime directories for User and Pulse Audio)
export LD_LIBRARY_PATH=$GAMEDIR/lib:$LD_LIBRARY_PATH
$ESUDO rm -f $GAMEDIR/lib/libasound.so.2 $GAMEDIR/lib/libvorbis.so.0 $GAMEDIR/lib/libvorbisenc.so.2 $GAMEDIR/lib/libvorbisfile.so.3
[ -f "$GAMEDIR/lib/libasound.so.2" ] && $ESUDO rm -f $GAMEDIR/lib/libasound.so.2 $GAMEDIR/lib/libvorbis.so.0 $GAMEDIR/lib/libvorbisenc.so.2 $GAMEDIR/lib/libvorbisfile.so.3
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

# gl4es
Expand Down
2 changes: 1 addition & 1 deletion ports/hexen2/Hexen 2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ESUDO chmod 666 /dev/uinput

# System
export LD_LIBRARY_PATH=$GAMEDIR/lib:$LD_LIBRARY_PATH
$ESUDO rm -f $GAMEDIR/lib/libasound.so.2 $GAMEDIR/lib/libvorbis.so.0 $GAMEDIR/lib/libvorbisenc.so.2 $GAMEDIR/lib/libvorbisfile.so.3
[ -f "$GAMEDIR/lib/libasound.so.2" ] && $ESUDO rm -f $GAMEDIR/lib/libasound.so.2 $GAMEDIR/lib/libvorbis.so.0 $GAMEDIR/lib/libvorbisenc.so.2 $GAMEDIR/lib/libvorbisfile.so.3
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

# gl4es
Expand Down

0 comments on commit 12ad44e

Please sign in to comment.