File: previsat-command.patch

package info (click to toggle)
previsat 7.2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,044 kB
  • sloc: cpp: 26,063; xml: 21,489; makefile: 11; sh: 5
file content (15 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: previsat/previsat
===================================================================
--- /dev/null
+++ previsat/previsat
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# instal local data if they were not already there
+localDataDir=~/.local/share/Astropedia/PreviSat/data
+[ -d $localDataDir ] || (echo Creation: $localDataDir; \
+                         mkdir -p $localDataDir; \
+                         cp -Rd /usr/share/Astropedia/PreviSat/data/* $localDataDir )
+
+# launch the application
+exec $(dirname $0)/PreviSat $@