Commit fcbaaa56 authored by Rémy Oudompheng's avatar Rémy Oudompheng
Browse files

Remove return 1.

parent 140c4e14
......@@ -637,17 +637,17 @@ md5sums=($pkgmd5)
package() {
cd \$srcdir
rm -rf tlpkg
install -m775 -d \$pkgdir/usr/local/share/texmf || return 1
install -m775 -d \$pkgdir/usr/local/share/texmf
wanteddirs=\$(for d in *; do test -d \$d && [[ \$d != texmf* ]] && echo \$d; done) || true
for dir in \$wanteddirs; do
find \$dir -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find \$dir -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find \$dir -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\;
find \$dir -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\;
done
for dir in texmf-dist texmf-doc; do
if [[ -d \$dir ]]; then
cd \$dir
find . -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find . -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find . -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\;
find . -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\;
cd ..
fi
done
......@@ -740,17 +740,17 @@ EOF
package() {
cd \$srcdir
rm -rf tlpkg
install -m775 -d \$pkgdir/usr/local/share/texmf || return 1
install -m775 -d \$pkgdir/usr/local/share/texmf
wanteddirs=\$(for d in *; do test -d \$d && [[ \$d != texmf* ]] && echo \$d; done) || true
for dir in \$wanteddirs; do
find \$dir -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find \$dir -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find \$dir -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\;
find \$dir -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\;
done
for dir in texmf-dist texmf-doc; do
if [[ -d \$dir ]]; then
cd \$dir
find . -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find . -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\; || return 1
find . -type d -exec install -d -m775 \$pkgdir/usr/local/share/texmf/'{}' \\;
find . -type f -exec install -m664 '{}' \$pkgdir/usr/local/share/texmf/'{}' \\;
cd ..
fi
done
......
Supports Markdown
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