I modified the script written by Al Smith in thread... http://forums.cpanel.net/showthread....threadid=15097 to update the phpnuke install pkg to the current version ( 7.2 at this time ).
In cpanel it still shows 6.8, and I don't think it lets you upgrade a previous install ( I didn't have 6.8 installed so I couldn't test that ).
Hopefully this will be helpful to some of you....
(It works for me)
Code:#!/bin/sh # getnuke.sh # seanhogan.us 20May04 # Based on Al Smith 09-01-2003 # Update cpanel PHP Nuke pkg.tar.gz file to current version Version=PHP-Nuke-7.2.zip # Version to fetch NukeHome=/usr/local/cpanel/addons/PHP-Nuke # Cpanel addon dir for PHP-Nuke NukeFile=pkg.tar.gz # Cpanel file name Source=http://phpnuke.org/files/ mkdir /tmp/Nuke cd /tmp/Nuke mkdir pkg cd pkg wget $Source/$Version # Get the version unzip $Version mv *.zip /tmp # move the .zip file out cd /tmp/Nuke tar cvfz $NukeFile pkg # Create the pkg file cp $NukeFile $NukeHome # Copy the pkg to the Nuke Home rm -rf /tmp/Nuke # Clean up the mess # # End # # TO DO: # update cpanel to show current nuke version (shows 6.8 now) # make cpanel work with upgrading previous version of nuke


LinkBack URL
About LinkBacks
Reply With Quote