Browse Source

Tobias Hintze <th@rocklinux.org>:


			
			
				rocklinux
			
			
		
Tobias Hintze 20 years ago
parent
commit
f92c5987ef
2 changed files with 9 additions and 5 deletions
  1. +8
    -4
      package/base/lprng/config.in
  2. +1
    -1
      package/base/lprng/lprng.desc

+ 8
- 4
package/base/lprng/config.in

@ -21,11 +21,15 @@
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
menu_begin MENU_PRINTER 'Selecting Print System' menu_begin MENU_PRINTER 'Selecting Print System'
pkgout; list=''
pkgout
default=''; list=''
while read pkg ver ; do while read pkg ver ; do
list="$list $pkg Use_${pkg}_($ver)_as_standard_printer"
default=${default:-$pkg}
[ $pkg = lprng ] && default=$pkg
list="$list $pkg Use_${pkg}_($ver)_as_standard_print_system"
done < <(grep "^X .* PRINTER " config/$config.$swpid/packages | cut -f5,6 -d' ') done < <(grep "^X .* PRINTER " config/$config.$swpid/packages | cut -f5,6 -d' ')
list="$list none Do_not_configure_a_default_printer"
choice ROCKCFG_DEFAULT_PRINTER none $list
default=${default:-none}
list="$list none Do_not_configure_a_default_print_system"
choice ROCKCFG_DEFAULT_PRINTER $default $list
menu_end menu_end

+ 1
- 1
package/base/lprng/lprng.desc

@ -35,7 +35,7 @@
[T] wide variety of printers, from the latest network based high speed to [T] wide variety of printers, from the latest network based high speed to
[T] vintage legacy printers. [T] vintage legacy printers.
[U] http://www.astart.com/
[U] http://www.lprng.com/
[A] Patrick Powell <papowell@astart.com> [A] Patrick Powell <papowell@astart.com>
[M] Clifford Wolf <clifford@clifford.at> [M] Clifford Wolf <clifford@clifford.at>

Loading…
Cancel
Save