Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[fixed bug] failed to create symbolic link ‘thinkers/default/foyer’
06-14-2018, 12:24 PM
Post: #1
[fixed bug] failed to create symbolic link ‘thinkers/default/foyer’
when `installx thinker` which calls think installation:

...
>> Set up a new basic thinker.
The old configuration is saved in archive/conf.115550
ln: failed to create symbolic link ‘thinkers/default/foyer’: File exists
make[2]: *** [install] Error 1
make[2]: Leaving directory `/thinker/local/today/thinker-install/think-ship/d-thinker/dt'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/thinker/local/today/thinker-install/think-ship'
make: *** [install] Error 2
Quote this message in a reply
06-14-2018, 12:25 PM
Post: #2
RE: [bug] failed to create symbolic link ‘thinkers/default/foyer’
Fixed in

Code:
commit 1b6d05630f06dc73051da689e2e79b10b903bfd6
Author: Eric Zhiqiang Ma <zma@d-thinker.org>
Date:   Thu Jun 14 12:25:25 2018 +0800

    fix default thinker checking
    
    http://tab.d-thinker.org/showthread.php?tid=11750

diff --git a/release/bin/setup_basic.sh b/release/bin/setup_basic.sh
index fc8b270..0d9d44b 100755
--- a/release/bin/setup_basic.sh
+++ b/release/bin/setup_basic.sh
@@ -176,7 +176,7 @@ mkdir -p conf
mkdir -p thinkers
mkdir -p thinkers/foyer

-if [[ ! -h thinkers/default ]] ; then
+if [[ ! -a thinkers/default ]] ; then
     ln -s foyer thinkers/default;
fi
Quote this message in a reply
Post Reply 


Forum Jump: