Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [IMPORTED FROM z4lab] Fix upgrade-fluffys.sh for CentOS #2

Closed
qawery-just-sad opened this issue Apr 13, 2020 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@qawery-just-sad
Copy link
Contributor

Found that when upgrading using the upgrade-fluffys.sh script

wget https://raw.githubusercontent.com/totles/z4lab-surftimer/master/cfg/sourcemod/surftimer/main.cfg -P "${SERVERDIR}/cfg/sourcemod/surftimer/main.cfg"

Created a directory instead of placing the file there.

wget https://raw.githubusercontent.com/totles/z4lab-surftimer/master/cfg/sourcemod/surftimer/main.cfg -P "${SERVERDIR}/cfg/sourcemod/surftimer/"

removing main.cfg at the end should fix this.
Not sure if this applies for different versions of linux. In that case you would need to execute a bash script to check for $OSTYPE or "cat /etc/os-release"

@qawery-just-sad qawery-just-sad added the bug Something isn't working label Apr 13, 2020
@qawery-just-sad
Copy link
Contributor Author

qawery-just-sad commented Apr 13, 2020

Original author anguspaterson-code

coverrt added a commit that referenced this issue Apr 16, 2020
@qawery-just-sad
Copy link
Contributor Author

fixed by pr #23

olokos pushed a commit that referenced this issue Apr 24, 2020
olokos pushed a commit that referenced this issue Jun 26, 2020
olokos pushed a commit that referenced this issue Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant