OSDN Git Service

luci-app-unblockneteasemusic: bump to 2.13
[immortalwrt/luci.git] / applications / luci-app-unblockneteasemusic / root / usr / bin / unm-debug
index 11cb264..b70bfd1 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
-# Copyright (C) 2021 Tianling Shen <cnsztl@immortalwrt.org>
+# Copyright (C) 2021-2022 Tianling Shen <cnsztl@immortalwrt.org>
+
+command -v "curl" >"/dev/null" || { echo -e "curl is not found."; exit 1; }
 
 mkdir -p "/tmp"
 /usr/share/unblockneteasemusic/debugging.sh 2>&1 | tee "/tmp/unm-debugging-output.txt"