summaryrefslogtreecommitdiffstats
path: root/chat-irc/weechat/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'chat-irc/weechat/INSTALL')
-rwxr-xr-xchat-irc/weechat/INSTALL7
1 files changed, 5 insertions, 2 deletions
diff --git a/chat-irc/weechat/INSTALL b/chat-irc/weechat/INSTALL
index cf5d6416a3..f98f33ee74 100755
--- a/chat-irc/weechat/INSTALL
+++ b/chat-irc/weechat/INSTALL
@@ -1,7 +1,10 @@
-if [ "$DEV_CMAKE" == "y" ]; then
+if [[ $WEECHAT_CMAKE == y ]]; then
cd ${SOURCE_DIRECTORY}/build &&
make install
else
default_install
fi &&
-ln -s weechat-curses ${INSTALL_ROOT}/usr/bin/weechat
+
+if [[ $WEECHAT_SYMLINKS == y ]]; then
+ ln -s weechat-curses ${INSTALL_ROOT}/usr/bin/weechat
+fi