summaryrefslogtreecommitdiff
path: root/config/global/paths.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-14 02:40:47 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-20 02:08:29 (GMT)
commit3e4d4870c9b7506c7a114fdb8789f78fd551c171 (patch)
treea6289993f026feb3a83ca98621d7f5297cf4f232 /config/global/paths.in
parent955f5bc0b8a879ba5d1b9a65a31cc235c9fd9be8 (diff)
Simplify config saving.
Instead of hardcoding defaults in saveSample.sh.in, have the same defaults in config. Then we can just remove them when saving the config.
Diffstat (limited to 'config/global/paths.in')
-rw-r--r--config/global/paths.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/global/paths.in b/config/global/paths.in
index 5e9bcc4..308d8d1 100644
--- a/config/global/paths.in
+++ b/config/global/paths.in
@@ -5,7 +5,7 @@ comment "Paths"
config LOCAL_TARBALLS_DIR
string
prompt "Local tarballs directory" if ! BACKEND
- default ""
+ default "${HOME}/src"
help
If you have previously downloaded the tarballs, enter the PATH where
you stored them here.
@@ -14,7 +14,7 @@ config SAVE_TARBALLS
bool
prompt "Save new tarballs" if ! BACKEND
depends on LOCAL_TARBALLS_DIR != "" || BACKEND
- default y if BACKEND
+ default y
help
If you say 'y' here, new downloaded tarballs will be saved in the
directory you entered above.