diff options
author | Alex Coté | 2020-12-30 00:02:03 -0600 |
---|---|---|
committer | Alex Coté | 2020-12-30 00:02:03 -0600 |
commit | ae0f1af012a32522d3df113704b55c3f2815661c (patch) | |
tree | 4d81d212efbae52421c5735a6dfe566274bee0a8 | |
parent | 5f0dd470f1fe6841d3de7d35e7291b359a8649ad (diff) | |
download | aur-ae0f1af012a32522d3df113704b55c3f2815661c.tar.gz |
Fixed build skipping last directory
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = desert-theme-git pkgdesc = GTK3 theme made by Paulxfce. "Designed to be light, crisp, and simple, this theme is thoroughly built and tested to provide a nice desktop environment." pkgver = r7.d07c904 - pkgrel = 1 + pkgrel = 2 url = https://www.gnome-look.org/p/1449286/ arch = any license = GPL2 @@ -3,7 +3,7 @@ pkgname=desert-theme-git _gitname=Desert pkgver=r7.d07c904 -pkgrel=1 +pkgrel=2 pkgdesc="GTK3 theme made by Paulxfce. \"Designed to be light, crisp, and simple, this theme is thoroughly built and tested to provide a nice desktop environment.\"" arch=("any") url="https://www.gnome-look.org/p/1449286/" @@ -40,7 +40,7 @@ build() { "Desert-Purple" "Desert-Purple-Solid" "Desert-Purple-Dark" "Desert-Purple-Dark-Solid") - for (( i=0; i<${#directory_list[@]}; i++ )) + for (( i=1; i<=${#directory_list[@]}; i++ )) do find "$PWD" -maxdepth 1 -type d -name "${directory_list[$i]}" | sort -V | tail -1 | xargs -I '{}' mv -f {} ./latest/"${theme_names[$i]}" done |