mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-04-09 14:15:54 +01: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"
|
||||||
@ -26,4 +29,5 @@ setupFastfetch() {
|
|||||||
|
|
||||||
checkEnv
|
checkEnv
|
||||||
checkEscalationTool
|
checkEscalationTool
|
||||||
setupFastfetch
|
setupFastfetch
|
||||||
|
setupFastfetchConfig
|
Loading…
x
Reference in New Issue
Block a user