summaryrefslogtreecommitdiffstats
path: root/setup
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-04-16 01:15:55 +0200
committerJustin Davis <jrcd83@gmail.com>2012-04-16 01:17:04 +0200
commitbdd04c88ba2bad905134a835dc794d273bd7bf97 (patch)
tree23dcb0246d1f8403d6516d32cb38cd297b66423f /setup
parent690e3e9a39e2691b483474725ee1a17d44231401 (diff)
downloadgenpkg-bdd04c88ba2bad905134a835dc794d273bd7bf97.tar.gz
genpkg-bdd04c88ba2bad905134a835dc794d273bd7bf97.tar.xz
Rename tweaks/ to preps/.
Adds GENPKGDBG env variable. Set it to prevent genpkg from removing PKGTREE and PKGDATA.
Diffstat (limited to 'setup')
-rwxr-xr-xsetup12
1 files changed, 6 insertions, 6 deletions
diff --git a/setup b/setup
index 6cd8bb7..54f1115 100755
--- a/setup
+++ b/setup
@@ -32,7 +32,7 @@ ins()
case "$1" in
'') cat <<EOF 1>&2
Run "$prog genpkg" to install genpkg & friends into ~/genpkg and ~/bin.
-Run "$prog tweaks" to install tweaks into ~/pkg/tweaks.
+Run "$prog mods" to install mods into ~/pkg/mods.
EOF
;;
genpkg) md ~/bin
@@ -49,12 +49,12 @@ genpkg) md ~/bin
done
md ~/.genpkg/var
;;
-tweaks) md ~/pkg/tweaks/
- for t in tweaks/*
+mods) md ~/pkg/mods/
+ for m in mods/*
do
- case $t in *~) continue ;; esac
- echo ~/pkg/"$t"
- cp "$t" ~/pkg/"$t"
+ case $m in *~) continue ;; esac
+ echo ~/pkg/"$m"
+ cp "$t" ~/pkg/"$m"
done
;;
*) echo "$prog: unrecognized argument: $1" 1>&2