summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-09-13 23:18:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-09-13 23:18:29 +0200
commit4be755fa1ff878c70f763d6c163aed6a51f9811a (patch)
tree9ec3bbaa4fb08f107d5aba586909b394e44a6166
parentb7fcaafc08e73033cf42568b265dfd5a3c143d06 (diff)
downloadplay-4be755fa1ff878c70f763d6c163aed6a51f9811a.tar.gz
play-4be755fa1ff878c70f763d6c163aed6a51f9811a.tar.bz2
play-4be755fa1ff878c70f763d6c163aed6a51f9811a.zip
Introduced 'installed' directory, which is now sourced instead of the more general 'games'
l---------installed/aom1
l---------installed/aomx1
l---------installed/fallout1
l---------installed/fallout21
l---------installed/osmos1
l---------installed/populous31
l---------installed/steam1
l---------installed/torchlight1
-rwxr-xr-xplay.sh4
9 files changed, 10 insertions, 2 deletions
diff --git a/installed/aom b/installed/aom
new file mode 120000
index 0000000..7872134
--- /dev/null
+++ b/installed/aom
@@ -0,0 +1 @@
+../games/aom \ No newline at end of file
diff --git a/installed/aomx b/installed/aomx
new file mode 120000
index 0000000..b75d43b
--- /dev/null
+++ b/installed/aomx
@@ -0,0 +1 @@
+../games/aomx \ No newline at end of file
diff --git a/installed/fallout b/installed/fallout
new file mode 120000
index 0000000..1cea0c0
--- /dev/null
+++ b/installed/fallout
@@ -0,0 +1 @@
+../games/fallout \ No newline at end of file
diff --git a/installed/fallout2 b/installed/fallout2
new file mode 120000
index 0000000..437aa49
--- /dev/null
+++ b/installed/fallout2
@@ -0,0 +1 @@
+../games/fallout2 \ No newline at end of file
diff --git a/installed/osmos b/installed/osmos
new file mode 120000
index 0000000..61b1bc8
--- /dev/null
+++ b/installed/osmos
@@ -0,0 +1 @@
+../games/osmos \ No newline at end of file
diff --git a/installed/populous3 b/installed/populous3
new file mode 120000
index 0000000..60a0fb0
--- /dev/null
+++ b/installed/populous3
@@ -0,0 +1 @@
+../games/populous3 \ No newline at end of file
diff --git a/installed/steam b/installed/steam
new file mode 120000
index 0000000..b8ef70c
--- /dev/null
+++ b/installed/steam
@@ -0,0 +1 @@
+../games/steam \ No newline at end of file
diff --git a/installed/torchlight b/installed/torchlight
new file mode 120000
index 0000000..699b47c
--- /dev/null
+++ b/installed/torchlight
@@ -0,0 +1 @@
+../games/torchlight \ No newline at end of file
diff --git a/play.sh b/play.sh
index 912ce9f..61ac00e 100755
--- a/play.sh
+++ b/play.sh
@@ -6,7 +6,7 @@ PLAY_DEBUG=${PLAY_DEBUG:-0}
[[ $PLAY_DEBUG == 2 ]] && setopt xtrace
PLAY_DIR="${PLAY_DIR:-${0:h}}"
-PLAY_GAMES="${PLAY_GAMES:-$PLAY_DIR/games}"
+PLAY_GAMES="${PLAY_GAMES:-$PLAY_DIR/installed}"
PLAY_TEMPLATES="${PLAY_TEMPLATES:-$PLAY_DIR/templates}"
typeset -A ENV EENV
@@ -130,7 +130,7 @@ else
list () {
out "Games are:"
- for k in $PLAY_GAMES/*(.:t); do
+ for k in $PLAY_GAMES/*(.,@:t); do
echo "\t> $k"
done
}