MdkActe <[EMAIL PROTECTED]> writes:
> After your patch:
>
> Undefined subroutine &main::mandrake_release called at /usr/sbin/drakconf.real line
>460.
> Undefined subroutine &main::mandrake_release called at /usr/sbin/drakconf.real line
>460.
> END failed--call queue aborted.
>
> something still missing :(
mandrake_release() was added to cvs through this patch:
Index: common.pm
===
RCS file: /cooker/gi/perl-install/common.pm,v
retrieving revision 1.161
retrieving revision 1.163
diff -u -w -p -r1.161 -r1.163
--- common.pm 12 Nov 2002 12:05:40 - 1.161
+++ common.pm 25 Nov 2002 12:12:15 - 1.163
@@ -9,7 +9,7 @@ use vars qw(@ISA @EXPORT $SECTORSIZE);
@ISA = qw(Exporter);
# no need to export ``_''
-@EXPORT = qw($SECTORSIZE N N_ translate untranslate formatXiB removeXiBSuffix formatTime setVirtual makedev unmakedev salt set_permissions files_exist set_alternative);
+@EXPORT = qw($SECTORSIZE N N_ translate untranslate formatXiB removeXiBSuffix formatTime setVirtual makedev unmakedev salt set_permissions files_exist set_alternative mandrake_release);
# perl_checker: RE-EXPORT-ALL
push @EXPORT, @MDK::Common::EXPORT;
@@ -240,6 +240,10 @@ sub set_permissions {
}
run_program::rooted($::prefix, "/bin/chmod", $perms, $file)
or die "Could not start chmod!";
+}
+
+sub mandrake_release {
+chomp_(cat_("/etc/mandrake-release"))
}
1;
hum, i think i'll have to do a drakxtools packages with cvs from a few
days ago before we finish the switch to gtk+.
2002-11-27 17:00 seems to be the right date to use.
comparing with current developments, you'll missed:
2002-12-04 13:32 tvignaud
* pkgs.pm: perl_checker
2002-12-04 13:21 uid553
* install_steps_gtk.pm: use option tty7 to force X server to be on
tty7 (instead of opening tty5 and tty6 so that the next available
tty is tty7)
2002-12-04 12:38 tvignaud
* harddrake/data.pm, harddrake/ui.pm, standalone/harddrake2: kill
"used by only one" harddrake::ui module, move its content to
standalone/harddrake2
2002-12-04 11:39 tvignaud
* harddrake/ui.pm: cleanups
2002-12-04 11:38 tvignaud
* ugtk2.pm: reverse
2002-12-04 11:21 tvignaud
* harddrake/ui.pm: hide config buttons when switching from a
configurable device to a non configurable one
2002-12-04 11:14 tvignaud
* harddrake/ui.pm: fix gtktext_insert() usage
2002-12-04 09:30 tvignaud
* security/main.pm: share common options
2002-12-04 09:30 tvignaud
* security/msec.pm: - fix obvious pixel typo (s/if/if_/)
- no need to maintain dummy documentation about something which is
called only in one place - simplify
2002-12-04 09:25 tvignaud
* standalone/drakxservices: strict mode
2002-12-04 08:49 tvignaud
* ugtk2.pm: clean up
2002-12-04 08:45 tvignaud
* harddrake/ui.pm: gtk+2 port, yeah baby :-)
2002-12-03 23:02 uid551
* share/po/: pt_BR.po, zh_CN.po: updated Brazilian and Chinese
files
2002-12-03 22:08 uid551
* share/fonts.tar.bz2: First try of fonts for Xft2
2002-12-03 21:04 uid535
* ugtk2.pm: titisux, revert the pango pixels stuff
2002-12-03 21:02 uid535
* common.pm, c/stuff.xs.pl: workaround perl sprintf bug when some
parameters are utf8 and some not
2002-12-03 15:14 pablo
* share/po/: et.po, ja.po, vi.po: updated Estonian and Vietnamese
files; fixed typo in Japanese file
2002-12-03 15:12 prigaux
* install_any.pm, partition_table.pm, scanner.pm, timezone.pm: do
not use "local *F", use "my $F" or output() instead
2002-12-03 15:11 prigaux
* security/msec.pm: fix typo
2002-12-03 15:08 prigaux
* raid.pm: use output()
2002-12-03 14:32 prigaux
* network/nfs.pm: (find_exports): use run_program::raw + stdout
2002-12-03 14:19 prigaux
* fs.pm: one need run_program::raw() to use options
2002-12-03 14:13 gc
* ugtk2.pm: misc fixes
2002-12-03 14:12 gc
* install_gtk.pm, install_steps_gtk.pm, mouse.pm, services.pm,
diskdrake/hd_gtk.pm, diskdrake/smbnfs_gtk.pm, interactive/gtk.pm:
gtk2
2002-12-03 14:12 prigaux
* commands.pm, common.pm, detect_devices.pm, devices.pm,
install_steps.pm, Xconfig/test.pm: do not use "local my $F, ...",
use "local(my $F, ...) instead
2002-12-03 14:12 tvignaud
* ugtk2.pm, standalone/logdrake: add gtktext_append() and uses it
2002-12-03 14:09 prigaux
* network/tools.pm: cleanup use of filehandles
2002-12-03 13:53 prigaux
* network/network.pm: (read_resolv_conf): simplify
2002-12-03 13:46 prigaux
* Xconfig/test.pm: do not use "local *F"
2002-12-03 13:42 prigaux
* devices.pm: do not use "local *F"
2002-12-03 13:39 prigaux
* common.pm: (formatXiB): simplify
2002-12-03 13:33 prigaux