From 4df1d479a85fc5b6b3cc6d43458f6b77e82849dd Mon Sep 17 00:00:00 2001 From: Wallesntein Date: Wed, 16 Oct 2024 17:47:01 +0300 Subject: [PATCH] fix --- srcpkgs/amneziawg-tools/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/amneziawg-tools/template b/srcpkgs/amneziawg-tools/template index 55f96e4..7c515d2 100644 --- a/srcpkgs/amneziawg-tools/template +++ b/srcpkgs/amneziawg-tools/template @@ -23,5 +23,7 @@ post_install() { vsv amneziawg vmkdir usr/share/$pkgname/examples - vcopy ../contrib/* usr/share/$pkgname/examples + if [ -d "../contrib" ]; then + vcopy ../contrib/* usr/share/$pkgname/examples + fi }