projects
/
carnet-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f117db
)
Automatska promjena imena kernel paketa.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Mon, 28 Oct 2013 14:02:47 +0000
(15:02 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Mon, 28 Oct 2013 14:02:47 +0000
(15:02 +0100)
debian/config
patch
|
blob
|
history
diff --git
a/debian/config
b/debian/config
index
2ffabbe
..
0e6e4e2
100755
(executable)
--- a/
debian/config
+++ b/
debian/config
@@
-6,6
+6,17
@@
set -e
. /usr/share/debconf/confmodule
db_version 2.0
. /usr/share/debconf/confmodule
db_version 2.0
+# Rewrite of renamed packages
+db_fget carnet-debian/packages seen
+if [ "$RET" = "true" ]; then
+ db_get carnet-debian/packages
+ packages="$RET"
+ if echo $packages | grep -qw kernel-2.6-cn; then
+ packages=$( echo $packages | sed 's/kernel-2.6-cn/kernel-cn/' )
+ db_set carnet-debian/packages "$packages"
+ fi
+fi
+
# Show dialogs if started from postinst
if [ "$CN_POSTINST" ]; then
db_fset carnet-debian/packages seen false
# Show dialogs if started from postinst
if [ "$CN_POSTINST" ]; then
db_fset carnet-debian/packages seen false