u
This commit is contained in:
parent
790e5978b8
commit
8df9bb9365
@ -72,7 +72,7 @@ chmod +x /faronear/autostart.sh
|
|||||||
echo '>>> Autostart is set. You can "systemctl start/stop/status rc-local" to manage it.'
|
echo '>>> Autostart is set. You can "systemctl start/stop/status rc-local" to manage it.'
|
||||||
|
|
||||||
echo "<<< Configure locales: install all-locales, default to zh-CN.UTF-8"
|
echo "<<< Configure locales: install all-locales, default to zh-CN.UTF-8"
|
||||||
dpkg-reconfigure locales
|
sudo dpkg-reconfigure locales
|
||||||
|
|
||||||
echo "<<< Debian System Setup Completed >>>"
|
echo "<<< Debian System Setup Completed >>>"
|
||||||
|
|
||||||
|
@ -3,12 +3,32 @@
|
|||||||
echo "Usage: setup.sh"
|
echo "Usage: setup.sh"
|
||||||
echo "Example: setup.sh"
|
echo "Example: setup.sh"
|
||||||
|
|
||||||
echo "######## 安装 ##################"
|
echo "######## Setting Home ##################"
|
||||||
mv ~/.bashrc ~/.bashrc.backup
|
|
||||||
|
if [ -e ~/.emacs ]
|
||||||
|
then
|
||||||
|
mv ~/.emacs ~/.emacs.backup
|
||||||
|
if
|
||||||
ln -s /faronear/lib/sysconfig/.emacs ~/
|
ln -s /faronear/lib/sysconfig/.emacs ~/
|
||||||
|
|
||||||
|
if [ -e ~/.emacs.lisp ]
|
||||||
|
then
|
||||||
|
mv ~/.emacs.lisp ~/.emacs.lisp.backup
|
||||||
|
if
|
||||||
ln -s /faronear/lib/sysconfig/.emacs.lisp ~/
|
ln -s /faronear/lib/sysconfig/.emacs.lisp ~/
|
||||||
|
|
||||||
|
if [ -e ~/.bashrc ]
|
||||||
|
then
|
||||||
|
mv ~/.bashrc ~/.bashrc.backup
|
||||||
|
if
|
||||||
ln -s /faronear/lib/sysconfig/.bashrc ~/
|
ln -s /faronear/lib/sysconfig/.bashrc ~/
|
||||||
|
|
||||||
|
if [ -e ~/.bash_profile ]
|
||||||
|
then
|
||||||
|
mv ~/.bash_profile ~/.bash_profile.backup
|
||||||
|
if
|
||||||
ln -s /faronear/lib/sysconfig/.bash_profile ~/
|
ln -s /faronear/lib/sysconfig/.bash_profile ~/
|
||||||
|
|
||||||
. ~/.bashrc
|
. ~/.bashrc
|
||||||
git config --global credential.helper cache
|
|
||||||
echo "######## 完毕 ##################"
|
echo "######## Home Setting Complete ##################"
|
||||||
|
Loading…
Reference in New Issue
Block a user