Skip to content

Commit

Permalink
move redist data if dir exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 authored Jun 12, 2021
1 parent ec25bf4 commit 1fa1fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ wget "$download" -O teamspeak.tar.bz2
tar -xjf teamspeak.tar.bz2 --strip-components=1

# Set up directory
[ -d "redist" ] || mv redist/* .
[ -d "redist" ] && mv redist/* .
[ -d "files" ] || mkdir files
for file in teamspeak.tar.bz2 doc serverquerydocs CHANGELOG LICENSE ts3server_minimal_runscript.sh ts3server_startscript.sh redist; do rm -rf $file; done
for file in *.so *.so.2 ts3server sql sql/*/; do chmod 500 $file; done

0 comments on commit 1fa1fb2

Please sign in to comment.