From 9430f6f4f5d46f5e727d29df72b9724b14828427 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 20 Jan 2022 19:15:47 -0600 Subject: [PATCH] Fix variable typo, add missing dep on bash --- PKGBUILD | 3 ++- tl-wallpaper-shuf.bash | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 98a36cf..4ce78cb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,12 +1,13 @@ # Maintainer: David Thurstenson pkgname=tl-wallpaper -pkgver=r16.7ec3d15 +pkgver=r18.93996e5 pkgrel=1 pkgdesc="Thurstylark's collection of wallpapers" arch=(any) url="https://git.thurstylark.com/thurstylark/${pkgname}.git/" license=('GPL') groups=('tlconfig') +depends=('bash') makedepends=('git') source=("git+${url}") md5sums=('SKIP') diff --git a/tl-wallpaper-shuf.bash b/tl-wallpaper-shuf.bash index ba86c2e..25c5d8d 100755 --- a/tl-wallpaper-shuf.bash +++ b/tl-wallpaper-shuf.bash @@ -8,4 +8,4 @@ wallp_dir=$(dirname "$0") wallp_subdir=$(find "$wallp_dir" -type d | shuf -n 1) # Get one file from $wallp_subdir -find $walp_subdir -type f \( -iname \*.jpg -o -iname \*.png \) | shuf -n 1 +find $wallp_subdir -type f \( -iname \*.jpg -o -iname \*.png \) | shuf -n 1