Artifact 495ed63bde19c014c7af47483f8c4c735779f8b7:
- Executable file debian/net2o.postinst — part of check-in [6b7301f967] at 2017-06-17 13:26:45 on branch trunk — Added uninstall to Makefile (user: bernd size: 285)
0000: 23 21 2f 62 69 6e 2f 73 68 0a 23 0a 23 20 50 6f #!/bin/sh.#.# Po 0010: 73 74 69 6e 73 74 20 66 6f 72 20 6e 65 74 32 6f stinst for net2o 0020: 2c 20 63 68 65 63 6b 73 20 69 66 20 6c 69 62 67 , checks if libg 0030: 70 73 20 69 73 20 61 76 61 69 6c 61 62 6c 65 0a ps is available. 0040: 0a 63 61 73 65 20 22 24 31 22 0a 69 6e 0a 20 20 .case "$1".in. 0050: 20 20 63 6f 6e 66 69 67 75 72 65 29 0a 09 65 63 configure)..ec 0060: 68 6f 20 22 24 31 20 6e 65 74 32 6f 22 0a 09 67 ho "$1 net2o"..g 0070: 66 6f 72 74 68 20 75 6e 69 78 2f 67 70 73 6c 69 forth unix/gpsli 0080: 62 2e 66 73 20 2d 65 20 62 79 65 20 32 3e 2f 64 b.fs -e bye 2>/d 0090: 65 76 2f 6e 75 6c 6c 20 7c 7c 20 5c 0a 09 20 20 ev/null || \.. 00a0: 20 20 28 73 65 64 20 2d 69 20 2d 65 20 27 73 2f (sed -i -e 's/ 00b0: 31 20 5c 28 5c 5b 49 46 5c 5d 20 5c 5c 20 67 70 1 \(\[IF\] \\ gp 00c0: 73 64 5c 29 2f 30 20 5c 31 2f 67 27 20 2f 75 73 sd\)/0 \1/g' /us 00d0: 72 2f 62 69 6e 2f 6e 32 6f 0a 09 20 20 20 20 20 r/bin/n2o.. 00e0: 65 63 68 6f 20 22 67 70 73 6c 69 62 20 6e 6f 74 echo "gpslib not 00f0: 20 61 76 61 69 6c 61 62 6c 65 2c 20 67 70 73 64 available, gpsd 0100: 20 73 75 70 70 6f 72 74 20 64 69 73 61 62 6c 65 support disable 0110: 64 22 29 0a 09 3b 3b 0a 65 73 61 63 0a d")..;;.esac.