summarylogtreecommitdiffstats
path: root/lbe.sh
diff options
context:
space:
mode:
authorMantas Mikulėnas2015-08-15 18:33:22 +0300
committerMantas Mikulėnas2015-08-15 18:33:22 +0300
commit0f7e82e4837f0488080525a1ee57555700786981 (patch)
treeee532d000a13a022b1fe7a63296a571bf4c76493 /lbe.sh
parent674bea4081cadd0b960666bb9d70465cca5c60a0 (diff)
downloadaur-0f7e82e4837f0488080525a1ee57555700786981.tar.gz
extend attributes.config
Diffstat (limited to 'lbe.sh')
-rwxr-xr-xlbe.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/lbe.sh b/lbe.sh
index cb174ab92916..b7be2664c746 100755
--- a/lbe.sh
+++ b/lbe.sh
@@ -21,11 +21,13 @@ if [ ! -d "$confdir" ]; then
cp -a "$appdir/help/uofmichigan.cfg.sample" "$confdir/U of Michigan.cfg"
- cp -a "$appdir/attributes.config" "$confdir/"
-
cp -a "$appdir/templates" "$confdir/"
fi
+if [ ! -t "$appdir/attributes.config" ]; then
+ cp -a "$appdir/attributes.config" "$confdir/"
+fi
+
cd "$confdir" # FIXME: if we do this, we can ditch lbe.properties; any disadvantages?
umask 077 # protect session files