]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - install-sh
Import changes from CUPS 1.4svn-r8704.
[thirdparty/cups.git] / install-sh
index be1adf563285169065ede971f2d1a71ea2299f1c..712bfc75824edf7676d4a336374bcdb471130bf8 100755 (executable)
@@ -209,11 +209,11 @@ else
        # Update permissions and strip as needed, then move to the final name.
        # If the chmod, strip, rm, or mv commands fail, remove the installed
        # file...
+       if [ x"$stripcmd" != x ]; then $doit $stripcmd $stripopt "$dsttmp" || echo "warning: Unable to strip $dst!"; fi
        if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp" || echo "warning: Unable to change owner of $dst!"; fi
        if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp" || echo "warning: Unable to change group of $dst!"; fi
 
        trap "rm -f ${dsttmp}" 0 &&
-       if [ x"$stripcmd" != x ]; then $doit $stripcmd $stripopt "$dsttmp"; fi &&
        if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; fi &&
        $doit $rmcmd -f "$dstdir/$dstfile" &&
        $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"