Artifact Content
Not logged in

Artifact 495ed63bde19c014c7af47483f8c4c735779f8b7:


#!/bin/sh
#
# Postinst for net2o, checks if libgps is available

case "$1"
in
    configure)
	echo "$1 net2o"
	gforth unix/gpslib.fs -e bye 2>/dev/null || \
	    (sed -i -e 's/1 \(\[IF\] \\ gpsd\)/0 \1/g' /usr/bin/n2o
	     echo "gpslib not available, gpsd support disabled")
	;;
esac