View | Details | Raw Unified | Return to bug 36874 | Differences between
and this patch

Collapse All | Expand All

(-)debian/univention-system-setup.install (+1 lines)
 Lines 2-4    Link Here 
2
usr/lib/univention-system-setup/scripts
2
usr/lib/univention-system-setup/scripts
3
usr/lib/univention-system-setup/cleanup-post.d
3
usr/lib/univention-system-setup/cleanup-post.d
4
usr/lib/univention-system-setup/cleanup-pre.d
4
usr/lib/univention-system-setup/cleanup-pre.d
5
usr/lib/univention-system-setup/appliance-hooks.d
(-)debian/univention-system-setup-boot.install (-1 lines)
 Lines 1-6    Link Here 
1
usr/share/univention-system-setup/startxwithfirefox
1
usr/share/univention-system-setup/startxwithfirefox
2
usr/share/univention-system-setup/download-packages
2
usr/share/univention-system-setup/download-packages
3
usr/lib/univention-system-setup/appliance-hooks.d
4
etc/init.d
3
etc/init.d
5
usr/lib/univention-system-setup/addons
4
usr/lib/univention-system-setup/addons
6
var/www
5
var/www
(-)debian/univention-system-setup-boot.postinst (+11 lines)
 Lines 83-86    Link Here 
83
update-rc.d -f urandom remove
83
update-rc.d -f urandom remove
84
rm /var/lib/urandom/random-seed
84
rm /var/lib/urandom/random-seed
85
85
86
# generate package removal appliance hook
87
cat >/usr/lib/univention-system-setup/appliance-hooks.d/95_remove_package_cache <<__EOF__
88
#!/bin/sh
89
if [ -s /var/cache/univention-system-setup/profile ]; then
90
	rm -f /var/cache/univention-system-setup/packages/*.deb
91
	rm -f /var/cache/univention-system-setup/packages/Packages
92
	rm -f /etc/apt/sources.list.d/05univention-system-setup.list
93
fi
94
__EOF__
95
chmod 755 /usr/lib/univention-system-setup/appliance-hooks.d/95_remove_package_cache
96
86
exit 0
97
exit 0
(-)debian/univention-system-setup-boot.postrm (-6 lines)
 Lines 54-63    Link Here 
54
54
55
#DEBHELPER#
55
#DEBHELPER#
56
56
57
if [ "$1" = remove -o "$1" = purge ]; then
58
	rm -f /var/cache/univention-system-setup/packages/*.deb
59
	rm -f /var/cache/univention-system-setup/packages/Packages
60
	rm -f /etc/apt/sources.list.d/05univention-system-setup.list
61
fi
62
63
exit 0
57
exit 0
(-)debian/univention-system-setup.postinst (+4 lines)
 Lines 37-40    Link Here 
37
37
38
chmod -R 700 /var/cache/univention-system-setup
38
chmod -R 700 /var/cache/univention-system-setup
39
39
40
if dpkg --compare-versions "$2" lt-nl "8.1.64-1" && [ ! -e /var/univention-join/joined ]; then
41
	ucr unset --force update/available
42
fi
43
40
exit 0
44
exit 0

Return to bug 36874