The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyPopulate 2.60 and Oscommerce

Discussion in 'General Discussion' started by Radio_Head, Jan 22, 2004.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    Anyone knows if EasyPopulate 2.60 (or latest v2.73-MS2) works with the OScommerce version provided from Cpanel ?

    Thank you
     
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    Not sure, does it require MS2.2?

    I stopped allowing the updates because is was an old version and replace the version stored with a MS2.2 version.

    I posted an upgrade script somewhere on the forums but cannot locate it.

    # uposCommerce.sh
    #
    # Update the cPanel addon installation package for osCommerce to the
    # version in the URL. Currently MS2-2.2 7-12-2003
    #
    # This script will download the version from sourceforge then unpack,
    # and create a pkg.tar.gz for the cPanel install program to use
    #
    # Change the URL if you want a different snapshot
    URL=http://heanet.dl.sourceforge.net/sourceforge/tep/oscommerce-2.2ms2.tar.gz

    # Location cPanel keeps our pkg.tar.gz for the installs
    cPanelDir=/usr/local/cpanel/addons/osCommerce
    # I bulid the package in /tmp
    cd /tmp

    wget $URL

    # Unpack it ....
    tar zxvf oscommerce-2.2ms2.tar.gz
    DIR=/tmp/oscommerce-2.2ms2

    mkdir /tmp/os
    mkdir /tmp/os/catalog
    mkdir /tmp/os/admin

    cd $DIR
    cp -r catalog /tmp/os/catalog
    cd catalog

    # The admin directory needs to be its own directory for the pkg.tar.gz
    cp -r admin /tmp/os/admin

    # We do not need the admin directory in the catalog directory
    rm -rf /tmp/os/catalog/catalog/admin

    mv /tmp/os /tmp/pkg

    cd /tmp
    tar cvfz pkg.tar.gz pkg

    # Now put it in the /usr/local/cpanel/addons/osCommerce directory
    cp $cPanelDir/pkg.tar.gz $cPanelDir/pkg.tar.gz.oldcp pkg.tar.gz $cPanelDir

    # Clean up the temporary files I just created
    rm pkg.tar.gz
    rm -rf pkg

    #
    # End
    #

    You could get just about any version you want. If you want the most current just change the top of the script.
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    Hello

    yes it requires 2.2 . Thank you for the update script !.
     

Share This Page