AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Questions (https://forums.alliedmods.net/forumdisplay.php?f=74)
-   -   Pulling from Github (https://forums.alliedmods.net/showthread.php?t=264886)

Mack7n 06-22-2015 23:01

Pulling from Github
 
Is there a way to pull directly from the Github to a server to install this? As to not have to download each released version and upload to a server? Looking to use this on TCAdmin. Been searching everywhere, and can't find anything related to this (maybe just over tired, so apologize ahead of time)

Wliu 06-23-2015 16:51

Re: Pulling from Github
 
Once you pull it, you'd have to compile it, which probably isn't worth the effort. At least until the SM/MM team adds the compiled files to Github Releases.

versatile_bfg 06-23-2015 21:05

Re: Pulling from Github
 
you can grab the compiled version like this: [needs the lynx browser installed to do this]

PHP Code:

/* Metamod */
metamod_mirror="http://www.metamodsource.net/mmsdrop/1.10/"
mm_linux_search_pattern="http:.*mmsource-.*-linux.*"
url_metamod_linux_package=$(lynx -dump "$metamod_mirroregrep -"$mm_linux_search_patterntail -1)
wget "$url_metamod_linux_package

You will have to work out a way to make that work on your system though. For windows just change the linux words to windows

I got this from here: https://github.com/bcserv/sourcemod-updater

versatile_bfg 06-24-2015 00:00

Re: Pulling from Github
 
Actually this could be a better one for you: https://github.com/chauffer/metamod-...mod-updater.sh


All times are GMT -4. The time now is 05:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.