diff options
author | Mantas Mikulėnas | 2015-08-15 18:33:22 +0300 |
---|---|---|
committer | Mantas Mikulėnas | 2015-08-15 18:33:22 +0300 |
commit | 0f7e82e4837f0488080525a1ee57555700786981 (patch) | |
tree | ee532d000a13a022b1fe7a63296a571bf4c76493 /lbe.sh | |
parent | 674bea4081cadd0b960666bb9d70465cca5c60a0 (diff) | |
download | aur-0f7e82e4837f0488080525a1ee57555700786981.tar.gz |
extend attributes.config
Diffstat (limited to 'lbe.sh')
-rwxr-xr-x | lbe.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |