linuxcnc_info outfilename, dpkg

1) make outfile name suitable for forum
2) also report dpkg for *linuxcnc*
This commit is contained in:
Dewey Garrett 2019-01-24 16:13:27 -07:00
parent 19b02176f2
commit aa4160e7a4

View file

@ -20,7 +20,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
ofile=/tmp/linuxcnc.info
ofile=/tmp/linuxcnc_info.txt
PROG=$(basename $0)
usage () {
@ -163,5 +163,10 @@ for n in $(linuxcnc_var all) ; do
show "${n%%=*}" ${n##*=}
done
echo
echo "dpkg -l '*linuxcnc*':"
dpkg -l '*linuxcnc*'
echo
[ -n "$VIEWER" ] && $VIEWER "$ofile"
exit 0