Quoting Captain <[EMAIL PROTECTED]>:
Le Tue, 4 Sep 2007 19:47:13 +0200,
The Stupid User <[EMAIL PROTECTED]> a écrit :
Not better with less code ?
It's not very important because it's temporary. Of my mind, we need to
discuss about pre-install, install and post-install script to continue
coding. Maybe Puppet can Help us.
Commit: dbf0e719fb558082a1712a894fd5c0cc2e3afd34
Author: Sysde <[EMAIL PROTECTED]>
Date: Tue Sep 4 19:47:10 2007 +0200
Install.rb continue coding
Add the install function
+ def install_package(infos)
+ #Need to manege action in consequance with the args
options given in command line
+ if (File.exists?(directory+"/scripts/pre"))
+ puts "execute pre-installation sripts"
+ end
+
+ if (File.exists?(directory+"/scripts/install"))
+ puts "execute installation sripts"
+ end
+
+ if (File.exists?(directory+"/scripts/post"))
+ puts "execute post-installation sripts"
+ end
puts "need to determine files and sort of file"
+ #in future
+ #verification(infos)
+ end
end
--
[email protected]
Unsubscribe: [EMAIL PROTECTED]
Archives: http://lists.else-projects.org/archives/devel
Jabber-MUC: [EMAIL PROTECTED]
--
[email protected]
Unsubscribe: [EMAIL PROTECTED]
Archives: http://lists.else-projects.org/archives/devel
Jabber-MUC: [EMAIL PROTECTED]