From 2980173c8e776ed0c0a6bbf557dc772241f6834e Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 7 Aug 2025 01:23:32 +0300 Subject: [PATCH] ports: Fix config.sub downloading --- ports/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/install.sh b/ports/install.sh index 18a886aa..d5d779a4 100755 --- a/ports/install.sh +++ b/ports/install.sh @@ -59,7 +59,7 @@ config_sub_update() { config_sub_path="$BANAN_PORT_DIR/config.sub" - if [ $(find $config_sub_path -mtime +1) ]; then + if [ ! -f "$config_sub_path" ] || [ $(find "$config_sub_path" -mtime +1) ]; then wget -O "$config_sub_path" 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' fi