mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 19:53:13 +02:00
core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
A symbolic link weechat-curses -> weechat is now created (by both cmake and configure), so that the /upgrade will work from an old version. However, if you upgrade from an old version, it is recommended to force the use of the new binary name with the command: `/upgrade /path/to/weechat` (replace the path accordingly).
This commit is contained in:
Vendored
+7
@@ -26,6 +26,13 @@ $(BUILDDIR)/Makefile:
|
||||
override_dh_auto_build: $(BUILDDIR)/Makefile
|
||||
dh_auto_build
|
||||
|
||||
# Create a symbolic link weechat -> weechat-curses
|
||||
# This link is created for compatibility with old versions on /upgrade.
|
||||
# It may be removed in future.
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
ln -s weechat $(CURDIR)/debian/weechat-curses/usr/bin/weechat-curses
|
||||
|
||||
override_dh_auto_configure:
|
||||
# the package also has autotools buildsys and
|
||||
# debhelper try to use it but that's not needed
|
||||
|
||||
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
usr/bin/weechat-curses
|
||||
usr/bin/weechat
|
||||
debian/weechat.xpm usr/share/pixmaps
|
||||
usr/share/man/man1/weechat-curses.1
|
||||
usr/share/man/*/man1/weechat-curses.1
|
||||
usr/share/man/man1/weechat.1
|
||||
usr/share/man/*/man1/weechat.1
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 65: warning [p 1, 9.7i]: cannot adjust line
|
||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
|
||||
title="weechat-curses" \
|
||||
title="weechat" \
|
||||
icon="/usr/share/pixmaps/weechat.xpm" \
|
||||
command="/usr/bin/weechat-curses"
|
||||
command="/usr/bin/weechat"
|
||||
|
||||
Reference in New Issue
Block a user