Add junk file removal step
This commit is contained in:
parent
3d8986cdff
commit
e5837c3409
@ -82,6 +82,17 @@ GNOME_EXTENSIONS=(
|
|||||||
places-menu@gnome-shell-extensions.gcampax.github.com
|
places-menu@gnome-shell-extensions.gcampax.github.com
|
||||||
)
|
)
|
||||||
|
|
||||||
|
########################################
|
||||||
|
# Junk files
|
||||||
|
|
||||||
|
JUNK_FILES=(
|
||||||
|
.inputrc
|
||||||
|
.i18n
|
||||||
|
.bashrc
|
||||||
|
.xim-template
|
||||||
|
bin/
|
||||||
|
)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# URLs
|
# URLs
|
||||||
|
|
||||||
@ -509,6 +520,18 @@ for EXTENSION in "${GNOME_EXTENSIONS[@]}"; do
|
|||||||
busctl --user call org.gnome.Shell.Extensions /org/gnome/Shell/Extensions org.gnome.Shell.Extensions InstallRemoteExtension s ${EXTENSION}
|
busctl --user call org.gnome.Shell.Extensions /org/gnome/Shell/Extensions org.gnome.Shell.Extensions InstallRemoteExtension s ${EXTENSION}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# Junk file removal
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
echo "Removing junk files..."
|
||||||
|
|
||||||
|
for JUNK_FILE in "${JUNK_FILES[@]}"; do
|
||||||
|
rm -r "${HOME}/${JUNK_FILE}"
|
||||||
|
done
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Personal configuration files and scripts
|
# Personal configuration files and scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user