aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files changed, 7 insertions, 1 deletions
diff --git a/install b/install
index 51ad486..e55979e 100755
--- a/install
+++ b/install
@@ -29,10 +29,16 @@ else
fi
echo 'installing configuration files...'
-find -L -- . -type f -name "*.org" | while read -r file; do
+find -L -- . -type f -name "*\.org" | while read -r file; do
echo " installing $file..."
emacs --batch "$file" -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1
done
+find -L -- . -type f -name "*\.org\.gpg" | while read -r file; do
+ echo " installing $file..."
+ gpg -d "$file" > tmp.org
+ emacs --batch tmp.org -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1
+ rm tmp.org
+done
echo 'installing wallpaper...'
cp .wallpaper ~/.wallpaper