[Koha-devel] Question about debian scripts
Mark Tompsett
mtompset at hotmail.com
Wed Nov 26 21:49:14 CET 2014
Greetings,
After faking out my development environment
(may have gotten the commands wrong, since ln trips me up sometimes):
$ sudo ln -s ~/koha-dev/etc /etc/koha
$ cd ~/koha-dev/etc
$ mkdir sites
$ mkdir library
$ ln -s ~/koha-dev/etc/koha_conf.xml koha_conf.xml
$ cd /usr/share
$ sudo mkdir koha
$ cd koha
$ sudo ln -s ~/kohaclone/debian/scripts bin
QUESTION: Is this too evil?
I attempted to:
$ git bz apply 13413
$ ./debian/scripts/koha-passwd library
Now it worked, but...
“Press any key to clear the screen...” wasn’t any key, it required enter/return.
Currently it is a sh script.
If we made it bash, the line:
read anykey
could become:
read -N1 anykey
And then it really would be any key.
QUESTION: Do all the koha command scripts need to be only sh?
GPML,
Mark Tompsett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20141126/ea12bfcf/attachment.html>
More information about the Koha-devel
mailing list