This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Help with update script

Tags: None
(comma "," separated)
Ben
Karma
0

Help with update script

Thu Jan 26, 2006 9:55 am
This is the script that I use to update amaroK from cvs.

[code:1]
#!/bin/bash

echo \"Updating Amarok SVN\"
cd /home/ben/multimedia/
sudo pwd
svn up amarok/
./configure --enable-mysql
unsermake
sudo unsermake install
[/code:1]

It has the pwd in there so I can put in my password when the script starts and not have to wait until the install.

The script works fine for a couple of days but eventually it will stop during the make process and ask if I want to override an error 644 or something like that. From what I have learnt an error 644 results from the wrong permissions in the files.

Does anyone know why it is doing this? I usually just delete the whole amarok source and start again until the next time it happens. It may be something to do with unsermake as it never used to happen when I used a similar script using regular make.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re:Help with update script

Thu Jan 26, 2006 10:06 am
Use this script instead, it\'s the official one; tested and recommended.

http://kde-apps.org/content/show.php?content=27313


--
Mark Kretschmann - Amarok Developer
Ben
Karma
0

Re:Help with update script

Mon Jan 30, 2006 2:25 am
Great, thanks.
Ben
Karma
0

Re:Help with update script

Thu Feb 02, 2006 7:41 am
I\'ve started using the official script and it is great, an order of magnitude better than my half blind effort.

Does anyone know how I make it a cron job? So far I set the working directory in the script to the usual and then I put a copy of the script in /etc/cron.daily. Is this all I have to do? I have left it for over 24 hours so far and the files don\'t seem to have been updated (maybe I am just impatient).

Keep up the fantastic work, amaroK just keeps getting better and better. New features like the use of libgpod are just the icing on the cake: I\'ve finally been able to stop using gtkpod.

Thanks for the player and hopefully for the advice.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]