mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-30 19:54:43 +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.
|
# Set up applications.
|
||||||
echo "setting up ~/Applications..." >&2
|
echo "setting up ~/Applications..." >&2
|
||||||
|
|
||||||
if [ -d ~/Applications ]; then
|
if [ ! -e ~/Applications -o -L ~/Applications ]; then
|
||||||
echo "warning: ~/Applications is a directory, skipping..." >&2
|
|
||||||
else
|
|
||||||
ln -sfn ${cfg.build.applications}/Applications ~/Applications
|
ln -sfn ${cfg.build.applications}/Applications ~/Applications
|
||||||
|
else
|
||||||
|
echo "warning: ~/Applications is a directory, skipping..." >&2
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue