diff --git a/gosa-si/debian/rules b/gosa-si/debian/rules
index 723ddf6fb62ba4fc2d4fa8a1e755b06612a7f41d..f0f05e28f32c5a6e96c7eff774387d0e453f6d9c 100755 (executable)
--- a/gosa-si/debian/rules
+++ b/gosa-si/debian/rules
done
-find debian/tmp -name '*.svn' -type d -exec rm -rf {} \; 2> /dev/null
- -for i in gosa-si-client gosa-si-server modules/GosaPackages.pm modules/ServerPackages.pm modules/TestModule.pm; do sed -i 's/use GosaSupportDaemon;/use GOSA::GosaSupportDaemon;/g;s/use DBsqlite;/use GOSA::DBsqlite;/g' debian/tmp/$$i; done
+ -for i in gosa-si-client gosa-si-server modules/GosaPackages.pm modules/SIPackages.pm modules/TestModule.pm server/events/*; do sed -i 's/use GosaSupportDaemon;/use GOSA::GosaSupportDaemon;/g;s/use DBsqlite;/use GOSA::DBsqlite;/g' debian/tmp/$$i; done
- -sed -i 's!use lib "/etc/gosa-si/modules";!use lib "/usr/lib/gosa-si/modules";!g;s!my $modules_path = "/etc/gosa-si/modules";!my $modules_path = "/usr/lib/gosa-si/modules";!g' debian/tmp/gosa-si-server
+ -sed -i 's!"/etc/gosa-si/modules";!use lib "/usr/lib/gosa-si/modules";!g' debian/tmp/gosa-si-server
-sed -i 's!"/etc/gosa-si/server/events";!"/usr/lib/gosa-si/server/events";!g' debian/tmp/modules/GosaPackages.pm
dh_installchangelogs
#dh_installdebconf
dh_installinit --init-script=gosa-si
+
+ chmod 640 debian/gosa-si-server/etc/gosa-si/server.conf debian/gosa-si-client/etc/gosa-si/client.conf debian/gosa-si-server/etc/gosa-si/bus.conf
+
dh_link
dh_strip
dh_compress