View Single Post
Posts: 85 | Thanked: 121 times | Joined on Feb 2014
#130
Re-edited the file and now is working.

[root@Sailfish nemo]# cat>/usr/bin/harbour-callrecorder-launcher.sh
#!/bin/bash

CONFIG=/home/nemo/.config/harbour-callrecorder/callrecorder.ini

if [ -f $CONFIG ]; then
LOCALE=$(awk -F '=' '/locale=/{print($2)}' "$CONFIG")
fi

if [ -z "$LOCALE" ] || [ "$LOCALE" = "system" ]; then
harbour-callrecorder "$@"
else
LANG=$LOCALE harbour-callrecorder "$@"
fi
[root@Sailfish nemo]# cat /usr/bin/harbour-callrecorder-launcher.sh
#!/bin/bash

CONFIG=/home/nemo/.config/harbour-callrecorder/callrecorder.ini

if [ -f $CONFIG ]; then
LOCALE=$(awk -F '=' '/locale=/{print($2)}' "$CONFIG")
fi

if [ -z "$LOCALE" ] || [ "$LOCALE" = "system" ]; then
harbour-callrecorder "$@"
else
LANG=$LOCALE harbour-callrecorder "$@"
fi
[root@Sailfish nemo]#exit
exit
[nemo@Sailfish ~]$ harbour-callrecorder-launcher.sh
[D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1455 - QML debugging is enabled. Only use this in a safe environment.
..................
 

The Following 2 Users Say Thank You to tvicol For This Useful Post: