aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-04 14:16:16 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-04 14:16:16 -0200
commit42cf685729c76a6e2bee9ddaf14324e7fb6dbe9c (patch)
treef07cf27f7e57b357ce5bf0e02176ee57960cc6f1 /inception
parent1cc320cfea23be43afb2bfe63f6729ee0ed29315 (diff)
downloadapps-42cf685729c76a6e2bee9ddaf14324e7fb6dbe9c.tar.gz
apps-42cf685729c76a6e2bee9ddaf14324e7fb6dbe9c.tar.bz2
Inception: fix apps/dotfiles symlink handling
Diffstat (limited to 'inception')
-rwxr-xr-xinception2
1 files changed, 1 insertions, 1 deletions
diff --git a/inception b/inception
index a5e4c5f..cd9319f 100755
--- a/inception
+++ b/inception
@@ -36,7 +36,7 @@ function inception_init {
if [ ! -h "$HOME/.dotfiles" ] || [ "`readlink $HOME/.dotfiles`" != "apps/dotfiles" ]; then
mkdir -p $BACKUPS
mv $HOME/.dotfiles $BACKUPS/
- ( cd $HOME && ln -s $HOME/apps/dotfiles .dotfiles )
+ ( cd $HOME &> /dev/null && ln -s apps/dotfiles .dotfiles )
fi
fi