notify_push icon indicating copy to clipboard operation
notify_push copied to clipboard

dont try running the (inexistent) rust binary when installing the nextcloud app if os/arch doesnt match

Open landryb opened this issue 3 years ago • 1 comments

i'm making a port for notify_push rust binary on OpenBSD/amd64, and when installing the nextcloud app, apparently its install procedure tries running the binary (which is only shipped for linux anyway):

$ php-7.3 ./nextcloud/occ app:install notify_push
sh: /var/www/nextcloud/apps/notify_push/bin/amd64/notify_push: not found
notify_push 0.1.7 installed
sh: /var/www/nextcloud/apps/notify_push/bin/amd64/notify_push: not found
sh: /var/www/nextcloud/apps/notify_push/bin/amd64/notify_push: not found
notify_push enabled

maybe the script should check for the operating system/arch to make sure the binary exists ?

landryb avatar May 02 '21 06:05 landryb

on an unrelated note, notify_push service itself works fine on OpenBSD/amd64 with nextcloud 21 !

landryb avatar May 02 '21 07:05 landryb