linuxcnc_info outfilename, dpkg
1) make outfile name suitable for forum 2) also report dpkg for *linuxcnc*
This commit is contained in:
parent
19b02176f2
commit
aa4160e7a4
1 changed files with 6 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
ofile=/tmp/linuxcnc.info
|
ofile=/tmp/linuxcnc_info.txt
|
||||||
PROG=$(basename $0)
|
PROG=$(basename $0)
|
||||||
|
|
||||||
usage () {
|
usage () {
|
||||||
|
|
@ -163,5 +163,10 @@ for n in $(linuxcnc_var all) ; do
|
||||||
show "${n%%=*}" ${n##*=}
|
show "${n%%=*}" ${n##*=}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "dpkg -l '*linuxcnc*':"
|
||||||
|
dpkg -l '*linuxcnc*'
|
||||||
|
echo
|
||||||
|
|
||||||
[ -n "$VIEWER" ] && $VIEWER "$ofile"
|
[ -n "$VIEWER" ] && $VIEWER "$ofile"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue