fixed file paths
This commit is contained in:
8
debian/debian-essentials.sh
vendored
8
debian/debian-essentials.sh
vendored
@@ -105,7 +105,7 @@ git config --global init.defaultBranch main
|
||||
|
||||
# show ip in /etc/issue
|
||||
if [[ ! -f /etc/issue.default ]]
|
||||
then wget -qO /etc/issue.default http://192.168.1.50/files/debian/issue.default
|
||||
then wget -qO /etc/issue.default http://192.168.1.50/debian/issue.default
|
||||
fi
|
||||
rm /etc/issue > /dev/null 2>&1
|
||||
cp /etc/issue.default /etc/issue
|
||||
@@ -116,7 +116,7 @@ echo "" >> /etc/issue
|
||||
|
||||
# set input preferences
|
||||
if [[ ! -f /etc/inputrc.default ]]
|
||||
then wget -qO /etc/inputrc.default http://192.168.1.50/files/debian/inputrc.default
|
||||
then wget -qO /etc/inputrc.default http://192.168.1.50/debian/inputrc.default
|
||||
fi
|
||||
rm /etc/inputrc > /dev/null 2>&1
|
||||
cp /etc/inputrc.default /etc/inputrc
|
||||
@@ -125,7 +125,7 @@ echo "set completion-ignore-case On" >> /etc/inputrc
|
||||
|
||||
# set nano preferences
|
||||
if [[ ! -f /etc/nanorc.default ]]
|
||||
then wget -qO /etc/nanorc.default http://192.168.1.50/files/debian/nanorc.default
|
||||
then wget -qO /etc/nanorc.default http://192.168.1.50/debian/nanorc.default
|
||||
fi
|
||||
rm /etc/nanorc > /dev/null 2>&1
|
||||
cp /etc/nanorc.default /etc/nanorc
|
||||
@@ -134,7 +134,7 @@ echo "set constantshow" >> /etc/nanorc
|
||||
|
||||
# set bash preferences and aliases
|
||||
if [[ ! -f /etc/bash.bashrc.default ]]
|
||||
then wget -qO /etc/bash.bashrc.default http://192.168.1.50/files/debian/bash.bashrc.default
|
||||
then wget -qO /etc/bash.bashrc.default http://192.168.1.50/debian/bash.bashrc.default
|
||||
fi
|
||||
rm /etc/bash.bashrc > /dev/null 2>&1
|
||||
cp /etc/bash.bashrc.default /etc/bash.bashrc
|
||||
|
||||
Reference in New Issue
Block a user