Skip to content

Commit

Permalink
Update ss-clean-files.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jessuppi committed Jun 25, 2023
1 parent fd74e7a commit 865024f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bash/ss-clean-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
## H. Delete Oldest SS-Config Backups
## I. Delete Deprecated WordPress MU Plugins
## J. Delete Deprecated Bash Scripts

## K. Delete Disabled SlickStack Files

## K. Delete Deprecated SlickStack Files
## L. Delete Unused WordPress Core Files

Expand Down Expand Up @@ -281,6 +284,15 @@ ss_rm /var/www/ss-purge
ss_rm /var/www/ss-update
ss_rm /var/www/ss-update-packages

####################################################################################################
#### K. SS-Clean-Files: Delete Disabled SlickStack Files #########################################
####################################################################################################

## delete adminer.php (conditional) ##
if [[ "${SS_ADMINER_PUBLIC}" == "false" ]]; then
ss_rm "${PATH_ADMINER_PHP}"
fi

####################################################################################################
#### K. SS-Clean-Files: Delete Deprecated SlickStack Files #########################################
####################################################################################################
Expand Down Expand Up @@ -1677,5 +1689,6 @@ chmod 0700 /var/www/crons/custom/*cron* ## 0700 means only root/sudo can execute
## Ref: https://unix.stackexchange.com/questions/130786/can-i-remove-files-in-var-log-journal-and-var-cache-abrt-di-usr
## Ref: https://superuser.com/questions/150136/deleted-opt-directory-from-linux-machine-will-there-be-any-reboot-problem-for
## Ref: https://stackoverflow.com/questions/23582472/index-php-in-uploads-directory-wordpress
## Ref: https://github.com/littlebizzy/slickstack/issues/196

## SS_EOF

0 comments on commit 865024f

Please sign in to comment.