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.

New addon installer... GAH!!!

Discussion in 'cPanel Developers' started by NightStorm, Jun 10, 2006.

  1. NightStorm

    NightStorm Well-Known Member

    Joined:
    Jul 28, 2003
    Messages:
    286
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    When building these new scripts, what am I supposed to use to package up the files that get dropped into the http directory of the user?
    I take all the necessary files that will be put into the users install directory of choice... SSH cd into the directory... set the file permissions they should inherit... remove the install folder... and then execute tar -czf package.tar.gz *
    But, for some reason it's just not decompressing the files into the folder when the install is requested.
    Anyone got a dumbed down version of the documentation for this? It used to be so much simpler to offer custom scripts... now with the sync and vender and junk, it just comes across as a PITA. It's just a simple modified version of phpBB... where is the problem here?
    I don't need it to be publicly distributable (I don't need an addon sync server), I don't need it to be a "trusted vendor" (I'm fine with it being parked in the cpanel folder). I just want to know why it won't decompress the tar.gz file.

    Oh yeah... plus the IE bug. But there are enough posts about that already.
     
    #1 NightStorm, Jun 10, 2006
    Last edited: Jun 10, 2006
  2. NightStorm

    NightStorm Well-Known Member

    Joined:
    Jul 28, 2003
    Messages:
    286
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do I need to create a .cpanelsync and .cpanelsync.md5s file in the directory before CPanel will uncompress the tar.gz file, maybe? Does anyone know how to generate the required files?
     
  3. NightStorm

    NightStorm Well-Known Member

    Joined:
    Jul 28, 2003
    Messages:
    286
    Likes Received:
    4
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Never mind... I caught it. As a note to anyone else, when you create the tar.gz file, it's named accourding to the VERSION in the pm file, and not according to the name of the actual folder.
    *sigh* Stupid mistakes, no sleep... always work together.
     
Loading...

Share This Page