From 1db1f1178d8968e8f4c681abf1916971c61d4c7d Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 19 Apr 2022 17:23:45 +0200 Subject: [PATCH] rm deploy-dotfiles.sh --- setup-env/deploy-dotfiles.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100755 setup-env/deploy-dotfiles.sh diff --git a/setup-env/deploy-dotfiles.sh b/setup-env/deploy-dotfiles.sh deleted file mode 100755 index d7aca99..0000000 --- a/setup-env/deploy-dotfiles.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# deploy-dotfiles is a simple config deployment "script" -# version 0.1 -# Author: a_mirre@utb.cz -# License: GNU GPL v3 (https://www.gnu.org/licenses/gpl.html) - -# old dotfiles should be backed up - -files={vimrc:gvimrc:zsh/zshrc} -bindir="~/utils/bin" - -if [ ! -d $bindir ]; then - echo "[*] creating bindir" - mkdir -pv $bindir -else - echo "[i] bindir already present" -fi - -echo "[*] symlinking dotfiles" - -while true; do - if [ -f $f ]; then - echo "[*] backing up $f to $f.OLDER" - mv -v $f $f.OLDER - fi - echo "[*] creating a link for $f at $syspath" - ln -v -s $f $syspath -done