summary refs log tree commit diff stats
path: root/user/adopt
diff options
context:
space:
mode:
authorAlan Pearce2019-10-04 21:35:17 +0200
committerAlan Pearce2019-10-04 21:35:44 +0200
commit8a52c1acb46ba99584ee4cc7c83161d972718a59 (patch)
tree158400c583b09e5eccf696d1f2c0a09e990d9029 /user/adopt
parent43a23a0eef135a07905c64a00ea620ba676e95ae (diff)
downloadnixfiles-8a52c1acb46ba99584ee4cc7c83161d972718a59.tar.lz
nixfiles-8a52c1acb46ba99584ee4cc7c83161d972718a59.tar.zst
nixfiles-8a52c1acb46ba99584ee4cc7c83161d972718a59.zip
Remove stow and scripts
Diffstat (limited to 'user/adopt')
-rwxr-xr-xuser/adopt29
1 files changed, 0 insertions, 29 deletions
diff --git a/user/adopt b/user/adopt
deleted file mode 100755
index 8e7bf4ff..00000000
--- a/user/adopt
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-DOTFILES_DIR=$(dirname $0)
-STOW="$DOTFILES_DIR/stow"
-
-if [ "$#" -lt 2 ]
-then
-  echo "usage: $(basename $0) tag file-to-adopt"
-  exit 1
-fi
-
-if [ -d $2 ]
-then
-  TARGET="$DOTFILES_DIR/$1/$2"
-  if ! [ -d $TARGET ]
-  then
-    mkdir -p $TARGET
-  fi
-  mv $2/* $TARGET
-  $STOW $1
-elif [ -f $2 ]
-then
-  TARGET="$DOTFILES_DIR/$1/$(dirname $2)"
-  if ! [ -d $TARGET ]
-  then
-    mkdir -p $TARGET
-  fi
-  mv $2 $TARGET
-  $STOW $1
-fi