Devuan fork of gpsd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1016 B

  1. #! /bin/sh /usr/share/dpatch/dpatch-run
  2. ## originally: 08_default_units.dpatch by Tilman Koschnick <til@subnetz.org>
  3. ## now default_units.dpatch, updated by Bernd Zeimetz <bernd@bzed.de>
  4. ##
  5. ## DP: Use metric units by default.
  6. @DPATCH@
  7. diff -urNad gpsd~/xgps.ad gpsd/xgps.ad
  8. --- gpsd~/xgps.ad 2007-12-09 00:24:16.000000000 +0100
  9. +++ gpsd/xgps.ad 2007-12-12 21:18:27.000000000 +0100
  10. @@ -10,8 +10,8 @@
  11. *climb*labelString: Climb
  12. *status*labelString: Status
  13. !*quit*labelString: Quit
  14. -*speedunits: mph
  15. -*altunits: feet
  16. +*speedunits: kph
  17. +*altunits: meters
  18. *renderTable: variable
  19. !*renderTable.variable.fontName: Arial
  20. diff -urNad gpsd~/xgpsspeed.ad gpsd/xgpsspeed.ad
  21. --- gpsd~/xgpsspeed.ad 2005-01-19 15:46:01.000000000 +0100
  22. +++ gpsd/xgpsspeed.ad 2007-12-12 21:17:40.000000000 +0100
  23. @@ -15,5 +15,5 @@
  24. *meter*width: 120
  25. *meter*height: 120
  26. *needleColor: salmon1
  27. -*speedunits: mph
  28. -*altunits: feet
  29. +*speedunits: kph
  30. +*altunits: meters