+ <release tarname="msysCORE-1.0.19-1-msys-1.0.19-bin.tar.xz" />
+
+ <action class="post-install">
+ sysroot = os.getenv( "MSYS_SYSROOT" )
+ package.path = sysroot.."/postinstall/?.lua;"..package.path
+
+ local has_fstab_module, fstab = pcall( require, "fstab" )
+
+ if has_fstab_module and fstab
+ then
+ have_fstab = io.open( fstab.pathname(), "r" )
+ if have_fstab
+ then
+ io.close( have_fstab )
+ else
+ fstab.initialize()
+ end
+ fstab.sample = io.open( fstab.pathname( ".sample" ), "w" )
+ if fstab.sample
+ then
+ fstab.dump_sample( fstab.sample )
+ io.close( fstab.sample )
+ end
+ end
+ </action>