Experimental arbitrary directory dotfiles install + re-added simplified phoenix wrapper script + updated readme with these changes

This commit is contained in:
Emmet 2024-04-14 09:40:46 -05:00
parent 3148ea5ab7
commit 7c457d29de
14 changed files with 189 additions and 46 deletions

View file

@ -14,11 +14,11 @@
# After running this, the command `nix flake update` will require root
if [ "$#" = 1 ]; then
dotfilesDir=$1;
SCRIPT_DIR=$1;
else
dotfilesDir=$(pwd);
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
fi
pushd $dotfilesDir &> /dev/null;
pushd $SCRIPT_DIR &> /dev/null;
chown 0:0 .;
chown 0:0 profiles/*;
chown -R 0:0 system;