Commit Graph

17 Commits

Author SHA1 Message Date
Joel Beckmeyer f694021f76 common/environment/setup: properly handle symlinks in vsv 2021-10-29 15:40:25 +02:00
Đoàn Trần Công Danh b44a69c772 vcompletion: return failure on wrong arguments 2021-08-08 11:24:20 +07:00
Đoàn Trần Công Danh d8e2056a8f xbps-src: retire XBPS_PKGDESTDIR
Historically, PKGDESTDIR was only set during pkg_install, and
XBPS_PKGDESTDIR was set to indicate that we're in subpkg's
pkg_install.

However, from 0b95cb8f5d, (Merge xbps-src code to make it usable in
a standalone mode., 2014-03-22), PKGDESTDIR is always set,
regardless of states.

Let's drop all usages of XBPS_PKGDESTDIR.

While we're at it, error out of vmove is used outside of subpkg.
2021-07-11 16:21:29 +07:00
Érico Rolim d5ca039278 common/environment/setup/install.sh: add vcompletion.
Install function for installing shell completions in the appropriate
place according to the shell used.
2020-07-28 04:24:40 +00:00
Doan Tran Cong Danh 13901bc715 xbps-src: vsv: force linking on forced rebuild
re-run `xbps-src -f install pkg` on packages with service files failed
because the link was created from previous run.
2019-04-15 10:53:55 -03:00
maxice8 c5b6940949 setup/install.sh: remove dirname usage 2019-04-14 06:22:09 -03:00
maxice8 dfd0cde930 setup/install.sh: remove support for 'all' special arg. 2019-02-18 08:32:27 -03:00
maxice8 c714d13f37 setup/install.sh: support bzipped (.bz2) manpages 2018-10-17 11:28:58 -03:00
maxice8 e42406c070
setup/install.sh: transparently deal with gzipped manpages
[ci skip]
2018-08-12 04:21:46 -03:00
Michael Gehring f82da0a8f7 common/environment/setup/install.sh: quote filename in vinstall
Fixes #5011
2016-10-21 01:46:06 +02:00
Juan RP bcdacb66a0 xbps-src: replace basename(1) with ${var##*/}.
Reduce number of fork+exec due to using a subshell to execute basename(1).
2015-09-11 07:55:40 +02:00
Juan RP f917bf259a environment/setup: fix vmove with pkgs that use a var named "f". 2014-11-30 21:17:52 +01:00
Juan RP 29fd09339a env/setup/install: use chmod 755 for runit scripts. 2014-11-03 17:03:27 +01:00
Juan RP d4025450ae xbps-src: vsv: take into account log service too. 2014-10-13 13:02:04 +02:00
Juan RP b700bf40e4 xbps-src: vsv: chmod +x run/finish scripts; create supervise symlink. 2014-10-13 12:37:33 +02:00
Enno Boland 33fd83f6be common/environment/setup: add vsv command to add runit services. 2014-10-13 11:12:05 +02:00
Juan RP 790202ddbd xbps-src: move helpers to environment; there's no need to have them.
Those helpers were just setting up some extra functions that can be used
on templates, and this can be done already via environment, so let's remove
the helpers completely.
2014-08-30 09:01:29 +02:00
Renamed from common/helpers/install.sh (Browse further)