lib/oldtime/archlinux.rb in oldtime-0.1.0 vs lib/oldtime/archlinux.rb in oldtime-0.1.1
- old
+ new
@@ -1,9 +1,9 @@
module Oldtime
module ArchLinux_Kernel
def backup_archlinux_packages
- sh %~pacman -Qqe | grep -vx "$(pacman -Qqm)" > #{Rc.p.oldtime}/packages.lst~, :verbose => true
- sh %~pacman -Qqm > #{Rc.p.oldtime}/aur.lst~, :verbose => true
+ system %~pacman -Qqe | grep -vx "$(pacman -Qqm)" > #{Rc.p.oldtime}/packages.lst~, :verbose => true
+ system %~pacman -Qqm > #{Rc.p.oldtime}/aur.lst~, :verbose => true
end
end
end
include Oldtime::ArchLinux_Kernel