From 8d6985d2323bd3f792769f88102ca992ac15d65e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 Mar 2023 21:55:42 +0100 Subject: Remove non-flake install script --- user/install.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 user/install.sh (limited to 'user') diff --git a/user/install.sh b/user/install.sh deleted file mode 100755 index e33b70ae..00000000 --- a/user/install.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -set -eu - -if [ -z "$1" ] -then - echo "Usage: $0 " - exit 1 -fi - -NIXDIR="$HOME/.config/nixpkgs" - -if [ ! -f "$1" ] -then - echo "$1 does not exist" - exit 1 -fi - -if [ -d "$NIXDIR" ] -then - echo "$NIXDIR already exists as a directory!" - ls -l "$NIXDIR" - exit -fi - -if [ -f "$NIXDIR" ] -then - echo "$NIXDIR already exists as a file" - ls -l "$NIXDIR" - exit -fi - -ln -s $PWD $NIXDIR -ln -s $1 home.nix -- cgit 1.4.1