Hi Sir Ariz, On Wed, 6 Aug 2003, Ariz Jacinto wrote: > > a question to all slackware advocates: we can embed scripts in a > Slackware package, right? > when will it be executed? pre or post installation or can be both? how > about during > uninstallation? > [1] It is possible, kung possibility lang ang habol mo.
We could actually extract a certain file from the tarball without having to untar the whole package -- which could serve as a dependencies file. The dependencies could most possibly be checked, in such a way na inde packages yung hinahanap kungdi actual library files or binaries ang hahanapin. > correct me if i'm wrong, we can utilize the embedded "doinst.sh" script > in order to have > dependency checks capability whenever we want to create our own > slackware package. > Yes, pero it would be nice kung built in sa "makepkg" command yung paginclude ng dependency information dun sa package na macreate. That IMHO would be an elegant addition. Another thing that would break will be yung pkgtool suite, meaning installpkg and upgradepkg. Dapat sile rin mamodify to support the dependency checking file na embedded as I have previously (see [1]) suggested. > anyone who have tried this before? coz on Cygwin, packages are installed > using bzip/tar > but a post-installation script can be executed and can be used to > perform minor dependency > checks. the only problem with this approach is that the package have > already been installed > before knowing that it shouldn't be. =) > I have tried coming up with a tool along the lines of checkpkg <pacakge.tgz> pero I havent gone around to actually making it work. I've been busy lately with my ACADS, and projects like these are too time consuming for my schedule. Pero I'm sure people could come up with a more elgant solution to what I have suggested here. :) Anyway, I think slackware people (read: I) would like to keep slackware as simple as it is, and let the dependency checking be done by me. :D Have a nice day everyone! :) -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
