ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Неточность в пакете drakconf-0.70-alt9
@ 2002-04-18  6:54 Alexander Vasiliev
  0 siblings, 0 replies; only message in thread
From: Alexander Vasiliev @ 2002-04-18  6:54 UTC (permalink / raw)
  To: sisyphus

В /usr/X11R6/bin/drakconf.real
в 
sub draw_exposed {
...<skip some lines>...
	my @revtree;
	open VERS, "/etc/altlinux-release" or die _("cannot open this file for read: %s", $!);
	while (<VERS>) { push (@revtree,$_) }
	my @info_tree = split / /, $revtree[0];

	my ($sysname, $nodename, $release, $version, $machine) = POSIX::uname();

	my $style1 = new Gtk::Style;
	$style1->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--14-*-100-100-p-*-iso8859-*,*-r-*")));

	my $i=0;
	foreach(
		 [_("System:"), "$info_tree[0] $info_tree[1] $info_tree[3] $info_tree[4]"],
.......................................................................^^^...........^^^......... 
		 [_("Hostname:"), $nodename], [_("Kernel Version:"), "$release $version"],
		 [_("Machine:"), $machine] ) {
		$pix->draw_string($style1->font, $darea1->style->black_gc, 80, 250+$i, $_->[0]);
		$pix->draw_string($style_dflt->font, $darea1->style->black_gc, 200, 250+$i, $_->[1]);
		$i+=20;
	}
}

А должно быть, по-моему,  ...$info_tree[2] $info_tree[3]... ,
т.к. в /etc/altlinux-release всего
"ALT Linux Sisyphus (20020416)".

Пакеты:
drakconf-0.70-alt9
altlinux-release-Sisyphus-alt20020416.

Дошел до жизни такой установкой Master Beta1 и регулярным
apt-get dist-upgrade.

Александр Васильев,
vav@tascom.ru



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-18  6:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-18  6:54 [sisyphus] Неточность в пакете drakconf-0.70-alt9 Alexander Vasiliev

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git