diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-20 02:47:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-20 02:47:19 +0000 |
commit | 53a63ab2253eafdec98efcd49d4c6fe7d2fb0106 (patch) | |
tree | 88d27040cc4ddc496c9acc0ee5280e6861188119 /packages/freenas/pkg | |
parent | 5bb10417dbb35737b53a7c42a325b9811dadcde1 (diff) | |
download | pfsense-packages-53a63ab2253eafdec98efcd49d4c6fe7d2fb0106.tar.gz pfsense-packages-53a63ab2253eafdec98efcd49d4c6fe7d2fb0106.tar.bz2 pfsense-packages-53a63ab2253eafdec98efcd49d4c6fe7d2fb0106.zip |
Don't allow pacakge to be installed on RELENG_1.
Diffstat (limited to 'packages/freenas/pkg')
-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> |