diff options
-rw-r--r-- | packages/freenas/pkg/freenas.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/freenas/pkg/freenas.xml b/packages/freenas/pkg/freenas.xml index b18d10ff..e3dca049 100644 --- a/packages/freenas/pkg/freenas.xml +++ b/packages/freenas/pkg/freenas.xml @@ -406,6 +406,11 @@ sync_package_freenas(); </custom_php_resync_config_command> <custom_php_install_command> + $version = `cat /etc/version`; + if(stristr($version, "HEAD")) { + update_output_window("This package is *ONLY compatible with -HEAD."); + exit; + } custom_php_install_command(); </custom_php_install_command> <custom_php_deinstall_command> |