diff options
Diffstat (limited to 'repo.postsync.d/q-reinit')
-rwxr-xr-x | repo.postsync.d/q-reinit | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/repo.postsync.d/q-reinit b/repo.postsync.d/q-reinit new file mode 100755 index 0000000..0833c66 --- /dev/null +++ b/repo.postsync.d/q-reinit @@ -0,0 +1,10 @@ +#!/bin/sh + +repository_name=$1 +repository_path=$3 + +if [ -n "${repository_name}" ]; then + q ${PORTAGE_QUIET:+-q} --reinitialize="${repository_path}" +fi + +: |