View | Details | Raw Unified | Return to bug 28493
Collapse All | Expand All

(-)a/debian/scripts/koha-passwd (-1 / +2 lines)
Lines 46-52 for name in "$@" Link Here
46
do
46
do
47
    if is_instance $name ; then
47
    if is_instance $name ; then
48
        passwd=$(xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/$name/koha-conf.xml);
48
        passwd=$(xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/$name/koha-conf.xml);
49
        user=$(xmlstarlet sel -t -v 'yazgfs/config/user' /etc/koha/sites/$name/koha-conf.xml);
49
        if [ -t 1 ]; then
50
        if [ -t 1 ]; then
51
            echo "Username for $name: $user"
50
            echo "Password for $name: $passwd"
52
            echo "Password for $name: $passwd"
51
            echo "Press enter to clear the screen..."
53
            echo "Press enter to clear the screen..."
52
            read anykey
54
            read anykey
53
- 

Return to bug 28493