advice on post-install scripts

  • Hey all

    Is there any documentation or advice people can give on creating post-
    install scripts that run when installing from a package? I cant seem
    to find anything about it and im not even sure what language the
    script needs to be written in! I know they can be set in package
    manager, but I dont know what to set it to? Id like to add a new user
    and do a few other mkdir type operations...

    Any help would be great.

    Thanks

    Tim
  • On Oct 21, 2007, at 5:58 PM, Tim Perrett wrote:

    > Hey all
    >
    > Is there any documentation or advice people can give on creating
    > post-install scripts that run when installing from a package? I
    > cant seem to find anything about it and im not even sure what
    > language the script needs to be written in! I know they can be set
    > in package manager, but I dont know what to set it to? Id like to
    > add a new user and do a few other mkdir type operations...
    >
    > Any help would be great.

    Tim,

    You'd do better taking this question to the following list:

    <installer-dev...>

    Good luck!
  • Tim,

    I believe that the script may be any (command line) executable. So it
    can be a compiled (command line tool) or any shell script. If you use
    the !# at the beginning of the script it can then be written in sh,
    bash, peel,python, ruby etc.

    On 10/21/07, Tim Perrett <hello...> wrote:
    > Hey all
    >
    > Is there any documentation or advice people can give on creating post-
    > install scripts that run when installing from a package? I cant seem
    > to find anything about it and im not even sure what language the
    > script needs to be written in! I know they can be set in package
    > manager, but I dont know what to set it to? Id like to add a new user
    > and do a few other mkdir type operations...
    >
    > Any help would be great.
    >
    > Thanks
    >
    > Tim
    >
  • Am 22.10.2007 um 00:52 schrieb <barrywark...>:
    > I believe that the script may be any (command line) executable. So it
    > can be a compiled (command line tool) or any shell script. If you use
    > the !# at the beginning of the script it can then be written in sh,
    > bash, peel,python, ruby etc.

      He means the shebang, #!, as in #!/usr/bin/php or whatever.

    Cheers,
    -- M. Uli Kusterer
    http://www.zathras.de
  • Yes, of course. So sorry!

    On 10/22/07, Uli Kusterer <witness.of.teachtext...> wrote:
    > Am 22.10.2007 um 00:52 schrieb <barrywark...>:
    >> I believe that the script may be any (command line) executable. So it
    >> can be a compiled (command line tool) or any shell script. If you use
    >> the !# at the beginning of the script it can then be written in sh,
    >> bash, peel,python, ruby etc.
    >
    > He means the shebang, #!, as in #!/usr/bin/php or whatever.
    >
    > Cheers,
    > -- M. Uli Kusterer
    > http://www.zathras.de
    >
    >
    >
    >
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today