Skip to content

Commit 6f360ab

Browse files
committed
updates to jinstall
1 parent 5dd60da commit 6f360ab

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

pacman/install.ijs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ many=. 1 < num
3131
msg=. 'Installing ',(":num),' package',many#'s'
3232
log msg
3333
installdo pkgs
34-
log 'Done.'
34+
if. -. JINSTALL do. log 'Done.' end.
3535
readlocal''
3636
pacman_init ''
3737
checkstatus''

pacman/jinstall.ijs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,16 @@ echo 'Installing ', 1 pick revinfo_j_''
2929
echo 'Updating J engine...'
3030
je_update''
3131

32-
if. 2~:ftype jpath'~/Desktop' do.
33-
echo 'No Desktop folder, so shortcuts not installed'
34-
else.
35-
echo 'Installing shortcuts...'
36-
shortcut'jbreak'
37-
shortcut'jc'
38-
shortcut'jhs'
39-
if. ifide do. shortcut'jqt' end.
32+
if. -. 'Darwin'-:UNAME do.
33+
if. 2~:ftype jpath'~/Desktop' do.
34+
echo 'No Desktop folder, so shortcuts not installed'
35+
else.
36+
echo 'Installing shortcuts...'
37+
shortcut'jbreak'
38+
shortcut'jc'
39+
shortcut'jhs'
40+
if. ifide do. shortcut'jqt' end.
41+
end.
4042
end.
4143

4244
if. ifide do.

0 commit comments

Comments
 (0)