mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-05-02 11:25:53 +02:00
Remove unneeded linked directory
This commit is contained in:
parent
7c5dea31fd
commit
77084cad7e
1 changed files with 5 additions and 5 deletions
|
@ -11,11 +11,11 @@ DIR=$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )
|
|||
|
||||
echo "Installing NixOS..."
|
||||
|
||||
if [ -d /etc/nixos/ssh ]; then
|
||||
echo "Directory /etc/nixos/ssh exists - skipping."
|
||||
else
|
||||
sudo ln -s $DIR/../ssh /etc/nixos/ssh || echo "Could not link ssh assets"
|
||||
fi
|
||||
#if [ -d /etc/nixos/ssh ]; then
|
||||
# echo "Directory /etc/nixos/ssh exists - skipping."
|
||||
#else
|
||||
# sudo ln -s $DIR/../ssh /etc/nixos/ssh || echo "Could not link ssh assets"
|
||||
#fi
|
||||
|
||||
pushd $DIR
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue