mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-28 06:35:24 +02:00
10 lines
445 B
Diff
10 lines
445 B
Diff
--- a/src/lib/fcitx-utils/Fcitx5Download.cmake.in
|
|
+++ b/src/lib/fcitx-utils/Fcitx5Download.cmake.in
|
|
@@ -1,4 +1,7 @@
|
|
if (NOT EXISTS "@FCITX5_DOWNLOAD_DEST@")
|
|
+ if (DEFINED ENV{XBPS_MACHINE})
|
|
+ message(FATAL_ERROR "Downloading @FCITX5_DOWNLOAD_URL@ is forbidden inside xbps-src")
|
|
+ endif()
|
|
message(STATUS "Downloading '@FCITX5_DOWNLOAD_URL@' to '@FCITX5_DOWNLOAD_DEST@'...")
|
|
file(DOWNLOAD
|
|
"@FCITX5_DOWNLOAD_URL@"
|