improved nexus.
This commit is contained in:
parent
3c0a4990ab
commit
654644ac0f
@ -1,3 +1,3 @@
|
|||||||
AUX nexus.init 15022 RMD160 fa43eceee0de9fc1ce52e07a5052dc3394fae423 SHA1 848b94860861c46d4a986d38d6ba584b5660b574 SHA256 8426a084371a1110a35294fecb3b0d22162509663e42b7b8167b7c897f6a7e3f
|
AUX nexus.init 15022 RMD160 fa43eceee0de9fc1ce52e07a5052dc3394fae423 SHA1 848b94860861c46d4a986d38d6ba584b5660b574 SHA256 8426a084371a1110a35294fecb3b0d22162509663e42b7b8167b7c897f6a7e3f
|
||||||
DIST nexus-oss-webapp-1.9.0.2-bundle.tar.gz 27416107 RMD160 10b53fc44acfd50189464670ab4657d0b8b73511 SHA1 86d05c788808a2c32858e0121d92782148363f2a SHA256 53d41ba0da03869221902e4e259a6fd3e06ff5fbf5896343f354b64a5d141646
|
DIST nexus-oss-webapp-1.9.0.2-bundle.tar.gz 27416107 RMD160 10b53fc44acfd50189464670ab4657d0b8b73511 SHA1 86d05c788808a2c32858e0121d92782148363f2a SHA256 53d41ba0da03869221902e4e259a6fd3e06ff5fbf5896343f354b64a5d141646
|
||||||
EBUILD nexus-1.9.0.2.ebuild 1796 RMD160 efcd2c44c6240e8bf82728a4f0654d170bdf0413 SHA1 28b6908aec5e4d27dca145d43788f0b384f75177 SHA256 573cf741f271b2d9fa87e6bbc8385f2e5aa144e11e44698c9e8e0fd49383cf31
|
EBUILD nexus-1.9.0.2.ebuild 2040 RMD160 3c23046fdbd39a3cd972c6090268ed8765336c66 SHA1 1bd77a1b75f76c20a2b9ac79f75b98565857365b SHA256 cd8afbc4b3d21b19eb26211cb38467009aa930f2f09957b27e5fe87da913b9a6
|
||||||
|
@ -32,7 +32,7 @@ src_install() {
|
|||||||
amd64) F_ARCH="linux-x86-64" ;;
|
amd64) F_ARCH="linux-x86-64" ;;
|
||||||
*) die "This ebuild doesn't support ${ARCH}." ;;
|
*) die "This ebuild doesn't support ${ARCH}." ;;
|
||||||
esac
|
esac
|
||||||
ls | grep -v $F_ARCH | xargs rm -vR || die "remove failed"
|
ls | grep -v -E "($F_ARCH|conf|lib)" | xargs rm -vR || die "remove failed"
|
||||||
|
|
||||||
dodir ${NEXUS_HOME}
|
dodir ${NEXUS_HOME}
|
||||||
|
|
||||||
@ -52,8 +52,14 @@ src_install() {
|
|||||||
# working-dir aendern
|
# working-dir aendern
|
||||||
sed -i -e 's:nexus-work=\${basedir}/../sonatype-work/nexus:nexus-work=/var/lib/nexus:' "${S}"/conf/plexus.properties
|
sed -i -e 's:nexus-work=\${basedir}/../sonatype-work/nexus:nexus-work=/var/lib/nexus:' "${S}"/conf/plexus.properties
|
||||||
|
|
||||||
|
sed -i -e \
|
||||||
|
"s:wrapper.working.dir=../../..:wrapper.working.dir=${NEXUS_HOME}:" \
|
||||||
|
"${S}"/bin/jsw/conf/wrapper.conf
|
||||||
|
|
||||||
cd "${S}"
|
cd "${S}"
|
||||||
chown -R nexus:nexus bin/* runtime/*
|
chown -R nexus:nexus bin/* runtime/*
|
||||||
|
mv bin/jsw/conf/wrapper.conf "${D}/etc/nexus" && rmdir bin/jsw/conf || die "failed to move
|
||||||
|
wrapper.conf"
|
||||||
cp -pPR bin runtime "${D}${NEXUS_HOME}" || die "failed to copy runtime"
|
cp -pPR bin runtime "${D}${NEXUS_HOME}" || die "failed to copy runtime"
|
||||||
cp -pPR conf/* "${D}/etc/nexus" || die "failed to copy conf"
|
cp -pPR conf/* "${D}/etc/nexus" || die "failed to copy conf"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user