delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/21/13:45:30

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
Date: Tue, 21 Dec 2004 13:45:03 -0500
From: george young <gry AT ll DOT mit DOT edu>
To: cygwin AT cygwin DOT com
Subject: can a postinstall script be other than shell?
Message-Id: <20041221134503.2def234b.gry@ll.mit.edu>
Reply-To: gry AT ll DOT mit DOT edu
Organization: MIT Lincoln Laboratory
Mime-Version: 1.0
X-IsSubscribed: yes

Can a postinstall script be other than a shell script?

I gather that setup looks for *.sh, but if I name a file
/etc/postinstall/foobar.sh, and it contains:

  #!/bin/python
  ...some python code...

will it work?  Or do I have to have a skeleton shell script
that calls my python script? 

-- George Young
-- 
"Are the gods not just?"  "Oh no, child.
What would become of us if they were?" (CSL)

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019