aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2021-12-07 06:59:49 +0100
committerTharre <tharre3@gmail.com>2021-12-18 22:51:29 +0100
commite31b38c782a065c88515fe4191f458ef692173ff (patch)
tree6cae1413abe71e18c17d7263b5ccc449831b6b5e /arch-system
parent99f955d136ec458c188ee21e70df9657801b4854 (diff)
downloadpkgbuilds-e31b38c782a065c88515fe4191f458ef692173ff.tar.gz
pkgbuilds-e31b38c782a065c88515fe4191f458ef692173ff.tar.xz
pkgbuilds-e31b38c782a065c88515fe4191f458ef692173ff.zip
arch-system: fix a couple small things
Diffstat (limited to 'arch-system')
-rw-r--r--arch-system/PKGBUILD6
-rwxr-xr-xarch-system/backup-sudo2
-rw-r--r--arch-system/etc-locale.gen6
3 files changed, 7 insertions, 7 deletions
diff --git a/arch-system/PKGBUILD b/arch-system/PKGBUILD
index efdaebe..50200e6 100644
--- a/arch-system/PKGBUILD
+++ b/arch-system/PKGBUILD
@@ -18,7 +18,7 @@ source=('etc-pacman.conf' 'etc-locale.conf' 'etc-locale.gen' 'etc-vconsole.conf'
'xps13-i915.conf')
sha256sums=('b3b540ac0dd68831d813e34dd8465cd00e8ba6a56fa6e5a162dc5ef469ec584c'
'70b74b741f3b1b58eeb97d8d5b9e6148a35ff8dced47cf4a231c1d0420aff5eb'
- '61359bca48f246bc90d90204ad894bfc22665d789b130fc838e9926dc47ab3a3'
+ 'b11ab0ea3d5c300afa0fb877d1f367993425a3fda0382f50f0e122625154f566'
'978271534da06356159eb24c0cee32b0024029d41df836ab76a964dfd7d36447'
'79ba5fdf0c69686ea0f2770c9b49b58ca26ebcce15e346d5bd56a442e684896e'
'62c1a085f7a9d1c5d57b40516fea5d7e8dfb3593d5c0a713cd571c8e5bae2584'
@@ -27,7 +27,7 @@ sha256sums=('b3b540ac0dd68831d813e34dd8465cd00e8ba6a56fa6e5a162dc5ef469ec584c'
'7467bb40e7d404ed249b34a0e410b8d452ebc4b90588d7e210bfa47011b5981d'
'dd84877b7f6f4330da489fa33f843c9a7c862562a3d78dc2feea5116ac846a79'
'483a7d9350653c2cf22f36f67f1a83cc5c95232dfc10642a20d76e3c32c9e2e3'
- 'ea50cd57140fc3a27c027de7c289f058c23c840cc9ce65593969e8e2dd5b8e65'
+ '0fd2628f2311fbbc4dae6f3018b27976ff20f8d70175bc3a587696350295028c'
'42050ba722df1cd606288e82054e131dac99bf10506f4c8d52eb9bfc0a078d89'
'e1bf3dc5978a7641f86975b7ee770a6914b30a8e4b7e3be2f1b07eaa7098591d'
'35e501f1114f635a4c55ccf2c9debcdff5579666dcf6d11e695be861ebd0a436'
@@ -54,7 +54,7 @@ package_base-system() {
}
package_backup-system() {
- depends=('libnotify')
+ depends=('libnotify' 'bash' 'borg' 'sudo')
install -dm0750 "$pkgdir"/etc/sudoers.d/
install -Dm0644 sudoers-borgbackup "$pkgdir"/etc/sudoers.d/70_borgbackup
diff --git a/arch-system/backup-sudo b/arch-system/backup-sudo
index 38594da..1091451 100755
--- a/arch-system/backup-sudo
+++ b/arch-system/backup-sudo
@@ -2,7 +2,7 @@
validate_path() {
# validate path
- targetpath=$(realpath -m -- "$1")
+ targetpath="$(realpath -m -- "$1")"
if [[ "$targetpath" != /.snapshots/* ]]; then
echo "Invalid path given." >&2
exit 2
diff --git a/arch-system/etc-locale.gen b/arch-system/etc-locale.gen
index d352b46..a68f87c 100644
--- a/arch-system/etc-locale.gen
+++ b/arch-system/etc-locale.gen
@@ -21,6 +21,6 @@
# A list of supported locales is included in this file.
# Uncomment the ones you need.
#
-en_US.UTF-8 UTF-8
-en_GB.UTF-8 UTF-8
-de_DE.UTF-8 UTF-8
+en_US.UTF-8 UTF-8
+en_GB.UTF-8 UTF-8
+de_DE.UTF-8 UTF-8