Instructions to set up a basic LAMP+SSH server environment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
335 B

6 years ago
  1. #!/bin/sh
  2. # Package patterns to search
  3. PKG_PATTERN="onboard|ristretto|catfish|notes|libreoffice|transmission|sudoku|mines|scan|mugshot|screenshooter|firefox"
  4. # Removal of the found packages
  5. sudo apt-get purge --remove $(dpkg --get-selections |grep -E $PKG_PATTERN | awk '{print $1}' | tr '\n' ' ')
  6. # Cleanup
  7. sudo apt-get autoremove