Cydia like Installer
I'm not sure if this topic is allowed to be discussed in the public so if it's not, just PM me or something.
Okay, so I'm trying to build this installer that would work with my site. Sounds stupid, right? I have my reasons for doing this. Anyway, I have everything set up, but I can't run the dpkg command as root. I was looking at the Cydia package and noticed that there is a Cydia_ and a Cydia file. The Cydia_ file is the actual executable and the Cydia file seems like just a shell script that is possibly calling the Cydia_ file as root. I want to know how I can do this. I see multiple apps that do it this way and am just curious on how I can enable this for my app.