Created
March 10, 2015 16:03
-
-
Save bjcubsfan/cd975cf547cc0e6881f1 to your computer and use it in GitHub Desktop.
Revisions
-
bjcubsfan created this gist
Mar 10, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ #!/usr/bin/env zsh print -n "Does the new linux and zfs-git use the same kernel verision? https://www.archlinux.org/packages/core/x86_64/linux/ https://aur.archlinux.org/packages/zfs-git/ " read -q REPLY if [[ $REPLY == "y" ]] ; then set -x TODAY=$(date --iso-8601) sudo etckeeper pre-install gvim /home/bpotter/notes/arch_upgrades/${TODAY}_arch_upgrade.md& sudo pacman -Rs zfs-git spl-git zfs-utils-git yaourt -Syua yaourt -Sa zfs-git spl-git zfs-utils-git # Clean out anything but last 3 from cache sudo paccache -r sudo pacman -Qqe > /etc/pacman.d/bjp_installed_pkglist.txt sudo etckeeper post-install else echo " Wait until they match, then upgrade." fi