DH_CONSOLEDATA(1) User Contributed Perl Documentation DH_CONSOLEDATA(1)NAME
dh_consoledata - declare console data files
SYNOPSIS
dh_consoledata [debhelper options] [-n]
DESCRIPTION
This program is meant to assist in building a package that provides data files for the console. It is still in the early stages of
developement, and many features are still missing or partly implemented. Please look at /usr/share/doc/console-common/TODO for more
details.
For now this program takes a debian/package.keymaps file, installs in in the package build directory, and creates the debian/package.config
and debian/package.templates files.
It also makes the ${console:depends} variable available for the control file. This variable should be referenced in the Depends field, as
should ${perl:depends} if you use dh_perl (which you should call anyway, since your package will include a perl debconf script).
It should ultimately allow to declare fonts and SFM fallbacks.
OPTIONS -n, --noscripts
Do not modify postinst/postrm scripts.
-d Install the debconf templates and config script (and add the postinst fragment, unless -n is also specified), even if there is no
debian/package.keymaps file. This is normally intended for internal use, be careful that the name of the option and its semantics will
probably change in the near future, to accomodate for new needs.
SEE ALSO debhelper(1)
This program is an extention to debhelper.
AUTHOR
Yann Dirson <dirson@debian.org>
perl v5.14.2 2011-12-05 DH_CONSOLEDATA(1)
Check Out this Related Man Page
DH_INSTALLDEBCONF(1) Debhelper DH_INSTALLDEBCONF(1)NAME
dh_installdebconf - install files used by debconf in package build directories
SYNOPSIS
dh_installdebconf [debhelperoptions] [-n] [--params]
DESCRIPTION
dh_installdebconf is a debhelper program that is responsible for installing files used by debconf into package build directories.
It also automatically generates the postrm commands needed to interface with debconf. The commands are added to the maintainer scripts by
dh_installdeb. See dh_installdeb(1) for an explanation of how that works.
Note that if you use debconf, your package probably needs to depend on it (it will be added to ${misc:Depends} by this program).
Note that for your config script to be called by dpkg, your postinst needs to source debconf's confmodule. dh_installdebconf does not
install this statement into the postinst automatically as it is too hard to do it right.
FILES
debian/package.config
This is the debconf config script, and is installed into the DEBIAN directory in the package build directory.
Inside the script, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands.
debian/package.templates
This is the debconf templates file, and is installed into the DEBIAN directory in the package build directory.
debian/po/
If this directory is present, this program will automatically use po2debconf(1) to generate merged templates files that include the
translations from there.
For this to work, your package should build-depend on po-debconf.
OPTIONS -n, --no-scripts
Do not modify postrm script.
-- params
Pass the params to po2debconf.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLDEBCONF(1)
I am still learning perl and confused on this script I am revising at work. The original author uses a package, which I have left in the code; however, I cannot seem to access the global variable $dir.
Code snippet:
I have also tried using $RRD_MG::dir to no avail.
Thank you. (6 Replies)
I have some function
function()
{
fileNamelist=( `find Uploads -name "somePattern" | tr '\n' ' '` )
}
but "local fileNamelist" makes it variable.
How do I declare fileNameList as a local array in BASH? (1 Reply)
Two unrelated questions here:
1/ In debian, is it possible to change the font and resolution of the console (not xterm)?
2/ still in debian, how can you know what packages have been installed ? I'm thinking to something similar to pkg_info on FreeBSD.
thx. (1 Reply)
can unix program declare int??how to declare ?
if i want to declare int and using read command then compare which int is small...how to do this??can somebody help me? (1 Reply)
Hi all, i have a perl script. from within the perl script, i am calling a system command which i need to pass in a perl variable. but the variable substitution does not seems to happen. would like to find out where is the missing escape character or extra quotes;or what is my mistake.
... (2 Replies)
HI
I have a config file (ip.config)that has the following fields with colon as delimeter.
yahoo.com:1919 ( host and port number)
rediffmail.com:2020
gmail.com:2121
How to read it in a perl script. I need to parse the host and port number in the perl script using split... (6 Replies)
Hi,
i am new to perl and i used to manullay gathering statistics since our database servers are 8i,
could any body help to get the perl script or any link to automate this work.
Thanks
Prakash (1 Reply)
hi to all,
i am trying to declare a variable as an integer in unix shell script. i search the web for a way to do it but it doesnt work.
i tried "define -i" and "declare" but that doesnt work.
if somebody knows another way to declare a variable as integer please help me.
thank you (2 Replies)
How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ?
Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Somebody on a thread in the (french) Mandriva Forum recently suggested a script, designed to provide a tool to display kind of "temporisation widgets" on the console (to be ultimately pasted in other more complex scripts).
One version of this script was something like the following, which seems... (6 Replies)
this is my code
declare -a USERCERT
declare -a CACERT
declare -a KEYSRC
this is the error
+ declare -a USERCERT
./clone.sh: 1: declare: not found
+ declare -a CACERT
./clone.sh: 1: declare: not found
+ declare -a KEYSRC
./clone.sh: 1: declare: not found (11 Replies)
Hi. i am trying to print the contents of my text file with delimiter : separating them.
6:15:ABC ABD:ABB ABE:
2:20:AEE ABH:ACC AAA:
i have completed my header for the report but i am having problem with my contents. i am trying to read in the data with the code below.
{ while read... (10 Replies)
i have 2 installation on VirtualBox : centos & debian
the fonts look nice on debian.
i have provided 2 screenshots in the attachments.
please advise me how to achieve same in centos.
thanks. (4 Replies)