#!/bin/sh # Packager version 2.6b made by Lightning 3/9/2005 # # Packaged by Nab by nab@linux.kiev.ua # http://freesco.linux.kiev.ua/ . /etc/colors NAME=easycyrlite_0.1.1_nab FILES="easycyrlite_0.1.1_nab.tgz" # All multi file variable names are inclosed in one set of quotes # and seperated by either a space or a TAB. EXFILE="" # Move any FILES= names to the EXFILE= variable that you want to # download with pkg -s and not to be installed with the pkg -i # or pkg -r command. FREESCO="0.3.0 0.3.x" PACKED=17 UNPACKED=34 LIBS="" DEPEND="" # This can just be part of a package name as well as the full name # in FREESCO 031 and later versions. This does not cause the # the package to fail the install. But it does give a WARNING if # this dependency is not found. INFO="easycyrlite_0.1.0_nab based on Easy Cyrillic 1.0.3 by Serg V. Storojevykh (svs@hempseed.com) and Wartan Hachaturov (wart@mail.convey.ru) " quit() { rm -r $3 killall pkg sync sync exit 1 } case $1 in preinstall) echo " ***-- This package is officially unapproved at this time --***" echo " ***-- loading this program could damage your system --***" echo " You can view cyriilic text in koi8(default), cp866 and cp1251 and input text in koi8 if you place ru.gz in /boot/kbd. For swith output codepage use ecl koi8|cp866|cp1251. For swith input use Right Control-Shift. " exit 0;; postinstall) rc_easycyrlite start echo "For enable cyrillic font, you must relogon..." exit 0;; info) echo "$INFO";; uninstall) rc_easycyrlite stop [ -f /pkg/disabled/rc_easycyrlite ] && rm -f /pkg/disabled/rc_easycyrlite || rm -f /pkg/rc/rc_easycyrlite rm -f /pkg/sbin/ecl rm -f /pkg/sbin/setfont rm -rf /pkg/usr/lib/kbd ;; esac