diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-28 02:23:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-28 02:23:52 +0000 |
commit | ebb5856c147805f149c1e0a20afe46708f3ed989 (patch) | |
tree | 20d36b910272e74bba2a7e869b0204f7d22d55a5 /move/make_live | |
parent | 9d719bb1f9c93148fd0cd81465169b81c524516e (diff) | |
download | drakx-backup-do-not-use-ebb5856c147805f149c1e0a20afe46708f3ed989.tar drakx-backup-do-not-use-ebb5856c147805f149c1e0a20afe46708f3ed989.tar.gz drakx-backup-do-not-use-ebb5856c147805f149c1e0a20afe46708f3ed989.tar.bz2 drakx-backup-do-not-use-ebb5856c147805f149c1e0a20afe46708f3ed989.tar.xz drakx-backup-do-not-use-ebb5856c147805f149c1e0a20afe46708f3ed989.zip |
remove documentation link in mdkgalaxy
Diffstat (limited to 'move/make_live')
-rwxr-xr-x | move/make_live | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/move/make_live b/move/make_live index 187aae578..49bae1d69 100755 --- a/move/make_live +++ b/move/make_live @@ -237,13 +237,17 @@ substInFile { s|Mandrake Linux release (\S+) \(.*\)|Mandrake Move release $1 (Moyoto)|; } "$::prefix/etc/mandrake-release"; -#- fix mandrake galaxy version download -my $next; -substInFile { - s/Mandrake%20Control%20Center\.desktop/Configure%20your%20computer.desktop/; - s/logiciels\.// if $next; - $next = s/, et installez de nouveaux/.../; -} "$::prefix/usr/share/mdk/mandrakegalaxy/mdkgalaxy-fr.html"; +#- remove documentation link in mdkgalaxy +foreach (glob("$::prefix/usr/share/mdk/mandrakegalaxy/mdkgalaxy-*.html")) { + my $nb; + substInFile { + if (m!/Starter.html! ... m!^\s*</td>$!) { + $_ = ''; + $nb++; + } + } $_; + $nb % 4 == 0 or die "bad $_\n"; +} #- remove uncessary wizards, especially from appearing in MCC unlink "$::prefix/usr/sbin/$_" foreach qw(drakautoinst drakboot drakfloppy drakgw drakbackup drakedm drakfont drakperm draksec rpmdrake MandrakeUpdate rpmdrake-remove edit-urpm-sources.pl); |