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