mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 02:37:09 +00:00
applications: fix activation
This commit is contained in:
parent
290b1d8aad
commit
cee2bb93cc
1 changed files with 3 additions and 3 deletions
|
@ -24,10 +24,10 @@ in
|
|||
# Set up applications.
|
||||
echo "setting up ~/Applications..." >&2
|
||||
|
||||
if [ -d ~/Applications ]; then
|
||||
echo "warning: ~/Applications is a directory, skipping..." >&2
|
||||
else
|
||||
if [ ! -e ~/Applications -o -L ~/Applications ]; then
|
||||
ln -sfn ${cfg.build.applications}/Applications ~/Applications
|
||||
else
|
||||
echo "warning: ~/Applications is a directory, skipping..." >&2
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue