Fix variable typo, add missing dep on bash

This commit is contained in:
David Thurstenson 2022-01-20 19:15:47 -06:00
parent 93996e58f8
commit 9430f6f4f5
2 changed files with 3 additions and 2 deletions

View File

@ -1,12 +1,13 @@
# Maintainer: David Thurstenson <thurstylark@gmail.com> # Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=tl-wallpaper pkgname=tl-wallpaper
pkgver=r16.7ec3d15 pkgver=r18.93996e5
pkgrel=1 pkgrel=1
pkgdesc="Thurstylark's collection of wallpapers" pkgdesc="Thurstylark's collection of wallpapers"
arch=(any) arch=(any)
url="https://git.thurstylark.com/thurstylark/${pkgname}.git/" url="https://git.thurstylark.com/thurstylark/${pkgname}.git/"
license=('GPL') license=('GPL')
groups=('tlconfig') groups=('tlconfig')
depends=('bash')
makedepends=('git') makedepends=('git')
source=("git+${url}") source=("git+${url}")
md5sums=('SKIP') md5sums=('SKIP')

View File

@ -8,4 +8,4 @@ wallp_dir=$(dirname "$0")
wallp_subdir=$(find "$wallp_dir" -type d | shuf -n 1) wallp_subdir=$(find "$wallp_dir" -type d | shuf -n 1)
# Get one file from $wallp_subdir # 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