u
This commit is contained in:
parent
7b11b24308
commit
7f6297301b
@ -5,7 +5,6 @@ then
|
|||||||
SourcePath=$1
|
SourcePath=$1
|
||||||
else
|
else
|
||||||
echo "Usage: setup.sh [Config-Source-Path] [User-Home-Path]"
|
echo "Usage: setup.sh [Config-Source-Path] [User-Home-Path]"
|
||||||
echo "---------------------------------------------"
|
|
||||||
read -p "Enter config source path (leave blank for [Users/luk.lu]/faronear/fon/sysconfig/nixhome) >> " SourcePath
|
read -p "Enter config source path (leave blank for [Users/luk.lu]/faronear/fon/sysconfig/nixhome) >> " SourcePath
|
||||||
if [ ! $SourcePath ]
|
if [ ! $SourcePath ]
|
||||||
then
|
then
|
||||||
@ -45,7 +44,6 @@ else
|
|||||||
mv $homescript $homescript.backup
|
mv $homescript $homescript.backup
|
||||||
fi
|
fi
|
||||||
ln -s $SourcePath/$homescript $HomePath
|
ln -s $SourcePath/$homescript $HomePath
|
||||||
echo $HomePath/$homescript == $SourcePath/$homescript
|
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
echo "Linked $SourcePath/* to $HomePath"
|
echo "Linked $SourcePath/* to $HomePath"
|
||||||
|
Loading…
Reference in New Issue
Block a user