projects
/
kernel-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7d78616
)
- cisti symlinkove i stare kernele prije generiranja grub confa
author
Dinko Korunic
<kreator@carnet.hr>
Wed, 25 Mar 2009 14:08:26 +0000
(15:08 +0100)
committer
Dinko Korunic
<kreator@carnet.hr>
Wed, 25 Mar 2009 14:08:26 +0000
(15:08 +0100)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
fa25902
..
b3f9b68
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-58,6
+58,14
@@
echo "."
################################################################################
################################################################################
+# remove obsolete symlinks and kernels
+rm -f /boot/vmlinuz /boot/vmlinuz.old /boot/vmlinuz.old2 \
+ /boot/vmlinuz.plain /vmlinuz /vmlinuz.old /boot/vmlinuz.plain \
+ /boot/vmlinuz.generic /boot/vmlinuz-generic /boot/vmlinuz-old
+echo "CN: Removed old symlinks in / and /boot."
+
+################################################################################
+
# intro msg
echo -n "CN: Configuring system (this will take a while):"
# intro msg
echo -n "CN: Configuring system (this will take a while):"
@@
-316,13
+324,6
@@
echo "."
################################################################################
################################################################################
-# remove obsolete links
-rm -f /boot/vmlinuz /boot/vmlinuz.old /boot/vmlinuz.old2 \
- /boot/vmlinuz.plain /vmlinuz /vmlinuz.old /boot/vmlinuz.plain
-echo "CN: Removed old symlinks in / and /boot."
-
-################################################################################
-
# fix old kernel-2.4-cn postrm
if [ -e /var/lib/dpkg/info/kernel-2.4-cn.postrm ]; then
echo "CN: Fixed old kernel-2.4-cn postrm."
# fix old kernel-2.4-cn postrm
if [ -e /var/lib/dpkg/info/kernel-2.4-cn.postrm ]; then
echo "CN: Fixed old kernel-2.4-cn postrm."