parent
a4e5b2f9be
commit
fc53b4f992
2 changed files with 10 additions and 4 deletions
10
bin/portzap
10
bin/portzap
|
@ -103,8 +103,16 @@ install() {
|
||||||
echo "The install command should be run as root."
|
echo "The install command should be run as root."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $portzap_dir
|
cd $portzap_dir
|
||||||
find -s . -maxdepth 1 -type d \
|
find -s . -maxdepth 1 -type f \
|
||||||
|
\( -not -name ".gitignore" \) \
|
||||||
|
\( -not -name ".arcconfig" \) \
|
||||||
|
-exec $libexec_dir/install-file $ports_dir {} +
|
||||||
|
find -s . -maxdepth 1 -type d \
|
||||||
|
\( -not -name "." \) \
|
||||||
|
\( -not -name ".git" \) \
|
||||||
|
\( -not -name ".hooks" \) \
|
||||||
-exec $libexec_dir/install-directory $ports_dir $libexec_dir {} +
|
-exec $libexec_dir/install-directory $ports_dir $libexec_dir {} +
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,5 @@ for i in $(seq 3 $#); do
|
||||||
|
|
||||||
# Install subdirs (recursive)
|
# Install subdirs (recursive)
|
||||||
find -s $relative_portzap_dir -depth 1 -type d \
|
find -s $relative_portzap_dir -depth 1 -type d \
|
||||||
\( -not -name ".git" \) \
|
-exec $libexec_dir/install-directory $ports_dir $libexec_dir {} \;
|
||||||
\( -not -name ".hooks" \) \
|
|
||||||
-exec $libexec_dir/install-directory $ports_dir $libexec_dir {} \;
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue