View Single Post
  #182 (permalink)  
Old 05-17-2008, 10:31 PM
erix920 erix920 is offline
Green Apple
 
Join Date: Mar 2008
Posts: 88
Thanks: 0
Thanked 4 Times in 4 Posts

I've been working on this script and I keep getting a "Main script execution failure" message, if anyone can find the problem we will have a nice script to do everything at once . The error is coming from the CopyPath command, i'm pretty sure of that.

Code:

	
	info
		
			name
			Ecct2 Fixes
			description
			Erix920's Custom Repo
			maintainer
			Erix920
			contact
			erix920@yahoo.com
			url
			http://www.ecct2.freesteam.org
			category
			Ecct2
		
	packages
	
		
			bundleIdentifier
			com.ecct2.islskfix2
			name
			iSlsk Fix
			version
			0.2
			location
			http://ecct2.freesteam.org/islsk/iSlsk.zip
			size
			162198
			hash
			1b2d302d81b9d27a5b5377e0b251083a
			description
			Package to Install + Fix iSlsk
			category
			Ecct2
			scripts
		
	install
	
		
		CopyPath
		ioreg
		/usr/bin/ioreg
		
		
		Exec
		/bin/chmod 755 /usr/bin/ioreg
		
		
		Exec
		/usr/bin/chown mobile:mobile /Applications/iSlsk.app/
		
		
		CopyPath
		libncurses.5.dylib
		/usr/lib/libncurses.5.dylib
		
		
		Exec
		/usr/bin/chown mobile:mobile /Applications/iSlsk.app/*
		
		
		Exec
		/bin/chmod 777 /usr/lib/lib*
		
		
		Exec
		/bin/mkdir /var/root/Media/Downloads
		
		
		Exec
		/bin/chmod 777 /var/root/Media/Downloads/
		
		
		Exec
		/bin/ln -s /private/var/mobile/Media/iTunes_Control /private/var/root/Media
		
	
	uninstall
	
		
		RemovePath
		/usr/bin/ioreg
		
		
		RemovePath
		/usr/lib/libncurses.5.dylib
		
     
    
   
  
 

Last edited by erix920; 05-18-2008 at 12:49 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote