mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-06 05:29:42 +00:00
Implement changes proposed in #409
This commit is contained in:
parent
4b3da30328
commit
df71b2c5a0
|
@ -16,6 +16,9 @@ setupFastfetch() {
|
||||||
else
|
else
|
||||||
echo "Fastfetch is already installed."
|
echo "Fastfetch is already installed."
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
setupFastfetchConfig() {
|
||||||
echo "Copy Fastfetch config files"
|
echo "Copy Fastfetch config files"
|
||||||
if [ -d "${HOME}/.config/fastfetch" ] && [ ! -d "${HOME}/.config/fastfetch-bak" ]; then
|
if [ -d "${HOME}/.config/fastfetch" ] && [ ! -d "${HOME}/.config/fastfetch-bak" ]; then
|
||||||
cp -r "${HOME}/.config/fastfetch" "${HOME}/.config/fastfetch-bak"
|
cp -r "${HOME}/.config/fastfetch" "${HOME}/.config/fastfetch-bak"
|
||||||
|
@ -27,3 +30,4 @@ setupFastfetch() {
|
||||||
checkEnv
|
checkEnv
|
||||||
checkEscalationTool
|
checkEscalationTool
|
||||||
setupFastfetch
|
setupFastfetch
|
||||||
|
setupFastfetchConfig
|
Loading…
Reference in New Issue
Block a user