change folder names to faronear.mycode & npm.code, fon.code

This commit is contained in:
陆柯 2023-04-29 10:04:43 +08:00
parent 4128b97573
commit 5323bd1ee7
10 changed files with 54 additions and 54 deletions

View File

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
mkdir cup.git mkdir cup.code
pushd cup.git pushd cup.code
git clone https://git.faronear.org/cup/cmc-user-uniapp git clone https://git.faronear.org/cup/cmc-user-uniapp
git clone https://git.faronear.org/cup/cmc-server-torm git clone https://git.faronear.org/cup/cmc-server-torm
popd popd
mkdir fon.git mkdir fon.code
pushd fon.git pushd fon.code
git clone https://git.faronear.org/npm/sysconfig git clone https://git.faronear.org/npm/sysconfig
git clone https://git.faronear.org/fon/dot.vscode git clone https://git.faronear.org/fon/dot.vscode
git clone https://git.faronear.org/fon/www.faronear.com git clone https://git.faronear.org/fon/www.faronear.com
@ -17,8 +17,8 @@ git clone https://git.faronear.org/fon/www.faronear.org
git clone https://git.faronear.org/fon/mail.faronear.org git clone https://git.faronear.org/fon/mail.faronear.org
popd popd
mkdir npm.git mkdir npm.code
pushd npm.git pushd npm.code
git clone https://git.faronear.org/npm/wo-base-fileloader git clone https://git.faronear.org/npm/wo-base-fileloader
git clone https://git.faronear.org/npm/wo-base-deployer git clone https://git.faronear.org/npm/wo-base-deployer
git clone https://git.faronear.org/npm/wo-base-envar git clone https://git.faronear.org/npm/wo-base-envar
@ -43,8 +43,8 @@ git clone https://git.faronear.org/npm/tic-chaintool
git clone https://git.faronear.org/npm/tic-traction git clone https://git.faronear.org/npm/tic-traction
popd popd
mkdir sol.git mkdir sol.code
pushd sol.git pushd sol.code
git clone https://git.faronear.org/sol/sol-ling git clone https://git.faronear.org/sol/sol-ling
git clone https://git.faronear.org/sol/sol-data git clone https://git.faronear.org/sol/sol-data
git clone https://git.faronear.org/sol/sol-base git clone https://git.faronear.org/sol/sol-base
@ -52,8 +52,8 @@ git clone https://git.faronear.org/sol/solet
git clone https://git.faronear.org/sol/soweb git clone https://git.faronear.org/sol/soweb
popd popd
mkdir tic.git mkdir tic.code
pushd tic.git pushd tic.code
git clone https://git.faronear.org/tic/cloud-server git clone https://git.faronear.org/tic/cloud-server
git clone https://git.faronear.org/tic/cloud-user-vue git clone https://git.faronear.org/tic/cloud-user-vue
git clone https://git.faronear.org/tic/star-core-torm git clone https://git.faronear.org/tic/star-core-torm
@ -70,8 +70,8 @@ git clone https://git.faronear.org/tex/tex-user-vue
popd popd
mkdir tuc.git mkdir tuc.code
pushd tuc.git pushd tuc.code
git clone https://git.faronear.org/tuc/fork-tisch git clone https://git.faronear.org/tuc/fork-tisch
git clone https://git.faronear.org/tuc/fork-nesh git clone https://git.faronear.org/tuc/fork-nesh

View File

@ -36,9 +36,9 @@ if not exist "%FONPATH%" (
) )
set NIXHOME1=%FONPATH%\fon\sysconfig\nixhome set NIXHOME1=%FONPATH%\fon\sysconfig\nixhome
set NIXHOME2=%FONPATH%\fon.git\sysconfig\nixhome set NIXHOME2=%FONPATH%\fon.code\sysconfig\nixhome
set NIXHOME3=%FONPATH%\fon\sysconfig.git\nixhome set NIXHOME3=%FONPATH%\fon\sysconfig.git\nixhome
set NIXHOME4=%FONPATH%\fon.git\sysconfig.git\nixhome set NIXHOME4=%FONPATH%\fon.code\sysconfig.git\nixhome
set NIXHOME5=%FONPATH%\sysconfig.git\nixhome set NIXHOME5=%FONPATH%\sysconfig.git\nixhome
set NIXHOME6=%FONPATH%\sysconfig\nixhome set NIXHOME6=%FONPATH%\sysconfig\nixhome
set NIXHOME7=%CD%\nixhome set NIXHOME7=%CD%\nixhome

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
FONPATH1=/faronear FONPATH1=/faronear
FONPATH2=~/faronear.git FONPATH2=~/faronear.mycode
FONPATH3=~/faronear FONPATH3=~/faronear
FONPATH4=/mnt/d/faronear FONPATH4=/mnt/d/faronear

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
FONPATH1=/faronear FONPATH1=/faronear
FONPATH2=~/faronear.git FONPATH2=~/faronear.mycode
FONPATH3=~/faronear FONPATH3=~/faronear
FONPATH4=/mnt/d/faronear FONPATH4=/mnt/d/faronear

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
FONPATH1=/faronear FONPATH1=/faronear
FONPATH2=~/faronear.git FONPATH2=~/faronear.mycode
FONPATH3=~/faronear FONPATH3=~/faronear
FONPATH4=/mnt/d/faronear FONPATH4=/mnt/d/faronear

View File

@ -3,8 +3,8 @@
NIXHOME0=/faronear/sysconfig/nixhome NIXHOME0=/faronear/sysconfig/nixhome
NIXHOME1=/faronear/npm/sysconfig/nixhome NIXHOME1=/faronear/npm/sysconfig/nixhome
NIXHOME2=~/faronear/npm/sysconfig/nixhome NIXHOME2=~/faronear/npm/sysconfig/nixhome
NIXHOME3=~/faronear/npm.git/sysconfig/nixhome NIXHOME3=~/faronear/npm.code/sysconfig/nixhome
NIXHOME4=~/faronear.git/npm.git/sysconfig/nixhome NIXHOME4=~/faronear.mycode/npm.code/sysconfig/nixhome
NIXHOME5=`pwd`/nixhome NIXHOME5=`pwd`/nixhome
if [ "$1" ] if [ "$1" ]
@ -94,7 +94,7 @@ then
if [ "$(uname)" == "Darwin" ] if [ "$(uname)" == "Darwin" ]
then then
echo '--- No need to run this script on Mac OS X. Exit now.' echo '--- No need to configure ./ssh/authorized_keys on Mac OS X. Exit now.'
elif [ "$TheUser" != 'root' ] # 仅允许 non-root 用户进行远程密钥登录 elif [ "$TheUser" != 'root' ] # 仅允许 non-root 用户进行远程密钥登录
then then

View File

@ -157,36 +157,36 @@ fi
# let MacOS uses the same variable so that vscode-sshfs can use "$USERPROFILE/.ssh/id_rsa" uniformly. # let MacOS uses the same variable so that vscode-sshfs can use "$USERPROFILE/.ssh/id_rsa" uniformly.
export USERPROFILE=$HOME export USERPROFILE=$HOME
# add sysconfig to path # # add sysconfig to path
tp1=/Users/luk.lu/faronear/npm/sysconfig # tp1=/Users/luk.lu/faronear/npm/sysconfig
tp2=/Users/luk.lu/faronear/npm.git/sysconfig # tp2=/Users/luk.lu/faronear/npm.code/sysconfig
tp3=/faronear/npm/sysconfig # tp3=/faronear/npm/sysconfig
tp4=/faronear/npm.git/sysconfig # tp4=/faronear/npm.code/sysconfig
tp5=/mnt/c/faronear/npm.git/sysconfig # tp5=/mnt/c/faronear/npm.code/sysconfig
tp6=/mnt/d/faronear/npm.git/sysconfig # tp6=/mnt/d/faronear/npm.code/sysconfig
tp7=/faronear/sysconfig # tp7=/faronear/sysconfig
if [ -d $tp1 ] # if [ -d $tp1 ]
then # then
export PATH=$tp1:$PATH # export PATH=$tp1:$PATH
elif [ -d $tp2 ] # elif [ -d $tp2 ]
then # then
export PATH=$tp2:$PATH # export PATH=$tp2:$PATH
elif [ -d $tp3 ] # elif [ -d $tp3 ]
then # then
export PATH=$tp3:$PATH # export PATH=$tp3:$PATH
elif [ -d $tp4 ] # elif [ -d $tp4 ]
then # then
export PATH=$tp4:$PATH # export PATH=$tp4:$PATH
elif [ -d $tp5 ] # elif [ -d $tp5 ]
then # then
export PATH=$tp5:$PATH # export PATH=$tp5:$PATH
elif [ -d $tp6 ] # elif [ -d $tp6 ]
then # then
export PATH=$tp6:$PATH # export PATH=$tp6:$PATH
elif [ -d $tp7 ] # elif [ -d $tp7 ]
then # then
export PATH=$tp7:$PATH # export PATH=$tp7:$PATH
fi # fi
if [ -f ~/.bashrc_custom ] if [ -f ~/.bashrc_custom ]
then then

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
FONPATH1=/faronear FONPATH1=/faronear
FONPATH2=~/faronear.git FONPATH2=~/faronear.mycode
FONPATH3=~/faronear FONPATH3=~/faronear
FONPATH4=/mnt/d/faronear FONPATH4=/mnt/d/faronear

View File

@ -36,9 +36,9 @@ if not exist "%FONPATH%" (
) )
set SCRIPTHOME1=%FONPATH%\fon\sysconfig\nixhome set SCRIPTHOME1=%FONPATH%\fon\sysconfig\nixhome
set SCRIPTHOME2=%FONPATH%\fon.git\sysconfig\nixhome set SCRIPTHOME2=%FONPATH%\fon.code\sysconfig\nixhome
set SCRIPTHOME3=%FONPATH%\fon\sysconfig.git\nixhome set SCRIPTHOME3=%FONPATH%\fon\sysconfig.git\nixhome
set SCRIPTHOME4=%FONPATH%\fon.git\sysconfig.git\nixhome set SCRIPTHOME4=%FONPATH%\fon.code\sysconfig.git\nixhome
set SCRIPTHOME5=%CD%\nixhome set SCRIPTHOME5=%CD%\nixhome
echo *** Testing Path [%SCRIPTHOME1%] [%SCRIPTHOME2%] [%SCRIPTHOME3%] [%SCRIPTHOME4%] [%SCRIPTHOME5%] echo *** Testing Path [%SCRIPTHOME1%] [%SCRIPTHOME2%] [%SCRIPTHOME3%] [%SCRIPTHOME4%] [%SCRIPTHOME5%]
if exist "%SCRIPTHOME1%" ( if exist "%SCRIPTHOME1%" (

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
FONPATH1=/faronear FONPATH1=/faronear
FONPATH2=~/faronear.git FONPATH2=~/faronear.mycode
FONPATH3=~/faronear FONPATH3=~/faronear
FONPATH4=/mnt/d/faronear FONPATH4=/mnt/d/faronear