Commit 1af4e0c2 authored by Franco Fichtner's avatar Franco Fichtner

pkg: it's really tricky to be honest; no @sample for now

parent 1707c68b
...@@ -14,9 +14,6 @@ install: ...@@ -14,9 +14,6 @@ install:
@cp -r ${.CURDIR}/repos ${DESTDIR}/usr/local/etc/pkg/ @cp -r ${.CURDIR}/repos ${DESTDIR}/usr/local/etc/pkg/
@(cd ${.CURDIR}/repos; find * -type f) | \ @(cd ${.CURDIR}/repos; find * -type f) | \
xargs -n1 printf "/usr/local/etc/pkg/repos/%s\n" xargs -n1 printf "/usr/local/etc/pkg/repos/%s\n"
# main package repository configuration
@cp ${.CURDIR}/origin.conf.sample ${DESTDIR}/usr/local/etc/pkg/repos
@echo "@sample /usr/local/etc/pkg/repos/origin.conf.sample"
# available fingerprints # available fingerprints
@cp -r ${.CURDIR}/fingerprints ${DESTDIR}/usr/local/etc/pkg/ @cp -r ${.CURDIR}/fingerprints ${DESTDIR}/usr/local/etc/pkg/
@(cd ${.CURDIR}/fingerprints; find * -type f) | \ @(cd ${.CURDIR}/fingerprints; find * -type f) | \
......
...@@ -38,7 +38,7 @@ if (count($argv) > 2) { ...@@ -38,7 +38,7 @@ if (count($argv) > 2) {
$pkg_mirror = $argv[2]; $pkg_mirror = $argv[2];
} }
$pkg_sample = file_get_contents('/usr/local/etc/pkg/repos/origin.conf.sample'); $pkg_sample = file_get_contents('/usr/local/etc/pkg/repos/origin.conf');
$pkg_sample = explode(PHP_EOL, $pkg_sample); $pkg_sample = explode(PHP_EOL, $pkg_sample);
$pkg_config = ''; $pkg_config = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment