| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <42AB2387.3000701@familiehaase.de> |
| Date: | Sat, 11 Jun 2005 19:46:47 +0200 |
| From: | "Gerrit P. Haase" <gerrit AT familiehaase DOT de> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 |
| MIME-Version: | 1.0 |
| To: | Oliver Geisen <technik AT kreisbote DOT de> |
| CC: | Cygwin Newsgroup <cygwin AT cygwin DOT com> |
| Subject: | Re: Run own postinstall script |
| References: | <2057c8c5a6b6af91adddaf0f25f0624c AT kreisbote DOT de> |
| In-Reply-To: | <2057c8c5a6b6af91adddaf0f25f0624c@kreisbote.de> |
| X-IsSubscribed: | yes |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |