Update skin from git using Terminal?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
UnisonRuss Offline
Senior Member
Posts: 241
Joined: Jan 2009
Reputation: 0
Location: Los Angeles
Post: #1
Hey all, sorry for such a dumb question (or is it?)...

Is there a way to update the skin directory without downloading the entire skin again? I have a Mac OS X, and I use Terminal to clone the Alaska directory. I'm sure it's a simple command, but I couldn't find the answer googling.

Thanks!

I love my Mac Mini :;):
find quote
sandman4sure Offline
Senior Member
Posts: 131
Joined: Jun 2008
Reputation: 0
Post: #2
You will need git to download it.
I have a script which you can run to download / update the Alaska skin.
(Don't know where I have found it, but thanks for the creator of it!)
You will have to make sure the path to your skin directory is right and git is installed.

AlaskaSkinInstaller.sh
find quote
UnisonRuss Offline
Senior Member
Posts: 241
Joined: Jan 2009
Reputation: 0
Location: Los Angeles
Post: #3
Okay, I open Terminal, then drop in the script, and hit enter, and it says "Permission denied," any chance you know what this means? Thank you for your help!

Just to add I did set the skin path, and git is installed.

I love my Mac Mini :;):
find quote
Montellese Offline
Team-XBMC Developer
Posts: 3,621
Joined: Jan 2009
Reputation: 34
Location: Switzerland
Post: #4
If you have git installed, open a terminal, cd to the skins directory and clone the git repository with "git clone ...". After that you can simple go to the Alaska directory in the terminal and run "git pull" and will get all the latest changes since your last pull. You won't have to download the whole stuff over and over again.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

[Image: badge.gif]
find quote
sandman4sure Offline
Senior Member
Posts: 131
Joined: Jun 2008
Reputation: 0
Post: #5
UnisonRuss Wrote:Okay, I open Terminal, then drop in the script, and hit enter, and it says "Permission denied," any chance you know what this means? Thank you for your help!

Just to add I did set the skin path, and git is installed.

Ah, you will need to make the script executable.
In terminal type:

PHP Code:
chmod u+x AlaskaSkinInstaller.sh 

Then it will work I think
find quote
shadylog Offline
Junior Member
Posts: 27
Joined: Dec 2009
Reputation: 0
Post: #6
Just go to the directory Alaska and in that directory (in terminal) do command "git pull"
That will update everything. It did for me.
find quote
oo_void Offline
Member
Posts: 73
Joined: Jun 2009
Reputation: 1
Post: #7
Once you get the hang if it, you'll love using git for downloading updates. It's quick and easy to use and automate. The big bonus is that it allows you to make local changes without locking you out of Hitcher's updates.
find quote
calmdown Offline
Member
Posts: 70
Joined: Dec 2009
Reputation: 4
Location: Sweden
Post: #8
EDIT: I got it all figured out, github is new to me, and works really well Smile
(This post was last modified: 2010-01-26 22:58 by calmdown.)
find quote
grey Offline
Senior Member
Posts: 229
Joined: Nov 2008
Reputation: 0
Location: Chisinau, Moldova
Post: #9
how did you get git installed into appletv ?
find quote
UnisonRuss Offline
Senior Member
Posts: 241
Joined: Jan 2009
Reputation: 0
Location: Los Angeles
Post: #10
Montellese Wrote:If you have git installed, open a terminal, cd to the skins directory and clone the git repository with "git clone ...". After that you can simple go to the Alaska directory in the terminal and run "git pull" and will get all the latest changes since your last pull. You won't have to download the whole stuff over and over again.

That worked great! I already had it cloned in my skin directory, so I CD to the skin directory, typed git pull, and all was well!

I love my Mac Mini :;):
find quote
xaos01 Offline
Junior Member
Posts: 35
Joined: Apr 2009
Reputation: 0
Post: #11
grey Wrote:how did you get git installed into appletv ?

Could this be done? would git run on the appletv? That would make things pretty tite. cron up a nightly. Heaven.

Platform - AppleTV
AppleTV Version - 3.0.1
Launcher version - 3.2.4
Install Method - Patchstick
SVN Revision - 9.11 R28256
(2)Seritek 5PM Chassis' :: 12TB
find quote
gekados Offline
Senior Member
Posts: 178
Joined: Mar 2005
Reputation: 0
Location: Stockholm
Post: #12
xaos01 Wrote:Could this be done? would git run on the appletv? That would make things pretty tite. cron up a nightly. Heaven.

Honestly, I have no idea, never used an atv, but have a look at this page, might be something there ?

ynwa
find quote