diff --git a/build b/build index 37702d6..19a00a3 100755 --- a/build +++ b/build @@ -26,7 +26,7 @@ git clone https://github.com/lukc/pkgxx && \ # APK configuration echo "> Configure APK to use pkg++ as supplementary repository…" -grep -q "^/opt/pkgxx/dev$" /etc/apk/repositories || \ - echo "/opt/pkgxx/dev" >> /etc/apk/repositories +grep -q "^/srv/pkgxx/dev$" /etc/apk/repositories || \ + echo "/srv/pkgxx/dev" >> /etc/apk/repositories # FIXME: DL yunoconfig diff --git a/install-and-chroot.sh b/install-and-chroot.sh index 7c27d51..78b4598 100755 --- a/install-and-chroot.sh +++ b/install-and-chroot.sh @@ -42,8 +42,8 @@ sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf" sudo cp build $DIR/build && sh $DIR/enter-chroot /build || exit 1 # Insert pkg++ configuration in chroot -sudo mkdir -p "$DIR/opt/pkgxx/dev" && \ - sudo mkdir -p "$DIR/opt/pkgxx/src" && \ +sudo mkdir -p "$DIR/srv/pkgxx/dev" && \ + sudo mkdir -p "$DIR/srv/pkgxx/src" && \ sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1 exit 0 diff --git a/pkgxx.conf.example b/pkgxx.conf.example index fe0ee58..c0dd23b 100644 --- a/pkgxx.conf.example +++ b/pkgxx.conf.example @@ -1,8 +1,8 @@ with context .distribution = "Alpine" .packageManager = "apk" - .packagesDirectory = "/opt/pkgxx/dev" - .sourcesDirectory = "/opt/pkgxx/src" + .packagesDirectory = "/srv/pkgxx/dev" + .sourcesDirectory = "/srv/pkgxx/src" .repositoryManager = "apk" .builder = "Contributor Dev Team" .repositoryDescription = "pkg++ dev repository"