diff options
author | JW(Shinichi Abe) <shin1.abe@nifty.com> | 2023-03-03 06:39:56 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-03-04 08:06:26 +0700 |
commit | 204a86d9f7689e407aac89a3ec5d9c0d863b263d (patch) | |
tree | 9a7ad90cb5b8131dc6d0982ffb3dd4c6d435caa7 /network | |
parent | e712d034d1df49e202b8d51961138fcbd577ebec (diff) |
network/MEGAcmd: Fix installdir of megacmd_completion.sh
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/MEGAcmd/MEGAcmd.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network/MEGAcmd/MEGAcmd.SlackBuild b/network/MEGAcmd/MEGAcmd.SlackBuild index 220577f474f4c..98e6624b02a65 100644 --- a/network/MEGAcmd/MEGAcmd.SlackBuild +++ b/network/MEGAcmd/MEGAcmd.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=MEGAcmd VERSION=${VERSION:-1.5.1} SDK=${SDK:-3.9.11d} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -97,6 +97,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# Fix installdir of megacmd_completion.sh +rm -rf $PKG/etc +install -Dm644 src/client/megacmd_completion.sh $PKG/usr/share/bash-completion/completions/megacmd # Don't ship .la files: rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la |