Remove unneeded linked directory

This commit is contained in:
Kevin Kandlbinder 2023-05-07 17:36:53 +02:00
parent 7c5dea31fd
commit 77084cad7e
Signed by: kevin
GPG key ID: 1460B586646E180D

View file

@ -11,11 +11,11 @@ DIR=$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )
echo "Installing NixOS..." echo "Installing NixOS..."
if [ -d /etc/nixos/ssh ]; then #if [ -d /etc/nixos/ssh ]; then
echo "Directory /etc/nixos/ssh exists - skipping." # echo "Directory /etc/nixos/ssh exists - skipping."
else #else
sudo ln -s $DIR/../ssh /etc/nixos/ssh || echo "Could not link ssh assets" # sudo ln -s $DIR/../ssh /etc/nixos/ssh || echo "Could not link ssh assets"
fi #fi
pushd $DIR pushd $DIR