This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Run own postinstall script


Oliver Geisen wrote:

Hello,

is there a way i can run an self-created post-installation-script aber setup is done, resp.
after the first shell is invoked ?

Every script ending with .sh in /etc/postinstall is executed from setup.exe and renamed to *.sh.done.

At shell startup there is /etc/profile.d/ which contains scripts
running when shell is started (if ending with .sh, see /etc/profile:

for i in /etc/profile.d/*.sh ; do
  if [ -f $i ]; then
    . $i
  fi
done


Gerrit -- =^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]