removed pacutils dependency
the script now uses pacman's build in flag to output all pkg's (even looks the same)
This commit is contained in:
		
							
								
								
									
										6
									
								
								update
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								update
									
									
									
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| # updates via an aur-helper and flatpak with flags | ||||
| # version 1.1 | ||||
| # version 1.2 | ||||
|  | ||||
| IGreen="\033[0;92m"		# Green | ||||
| NC="\033[0m"			# Text Reset | ||||
| @@ -26,7 +26,7 @@ Help() { | ||||
| # creates package lists, moves them into a zip, adds some other files to the zip and backups the pacman database in the form of a tar | ||||
| # it then rsyncs the zip and the tar to the backup location | ||||
| before_backup() { | ||||
| 	paclog-pkglist > pacman-pre.txt | ||||
| 	pacman -Q > pacman-pre.txt | ||||
|     flatpak list > flatpak-pre.txt | ||||
|     zip --quiet --move before-backup.zip.new pacman-pre.txt flatpak-pre.txt | ||||
|     zip --quiet --grow before-backup.zip.new /etc/fstab /etc/makepkg.conf | ||||
| @@ -46,7 +46,7 @@ after_backup() { | ||||
| # updates using aur-helper | ||||
| update_with_aur_helper() { | ||||
| 	"${aur_helper}" | ||||
|     paclog-pkglist > pacman-after.txt | ||||
|     pacman -Q > pacman-after.txt | ||||
| } | ||||
|  | ||||
| # updates using flatpak update | ||||
|   | ||||
		Reference in New Issue
	
	Block a user