Raised This Month: $12 Target: $400
 3% 

Pulling from Github


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mack7n
New Member
Join Date: Jun 2015
Old 06-22-2015 , 23:01   Pulling from Github
Reply With Quote #1

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)
Mack7n is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 06-23-2015 , 16:51   Re: Pulling from Github
Reply With Quote #2

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.
__________________
~Wliu

Last edited by Wliu; 06-23-2015 at 16:54.
Wliu is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 06-23-2015 , 21:05   Re: Pulling from Github
Reply With Quote #3

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
__________________

Last edited by versatile_bfg; 06-23-2015 at 21:06.
versatile_bfg is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 06-24-2015 , 00:00   Re: Pulling from Github
Reply With Quote #4

Actually this could be a better one for you: https://github.com/chauffer/metamod-...mod-updater.sh
__________________
versatile_bfg is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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