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.

gensetup 558B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. #
  3. # pbrisbin 2013 - generates and outputs a script which, when run, would
  4. # install all packages currently installed on the system. This, combined
  5. # with a restoration of /etc and /home, should constitute an acceptable
  6. # system recovery.
  7. #
  8. ###
  9. cat << EOF
  10. #!/usr/bin/env sh
  11. echo '$(pacman -Qqe | grep -v "$(pacman -Qqm)")' | sudo pacman -Syu --needed -
  12. curl 'https://aur.archlinux.org/packages/au/aurget/aurget.tar.gz' | tar fxz - \\
  13. && (cd ./aurget && makepkg -i) && rm -r ./aurget
  14. echo '$(pacman -Qqem)' | xargs /bin/aurget -S
  15. EOF