fix spacing issue in two dialog boxes; fix issue where locally-edited SlackBuild was not being used for building; thanks to Mauro Giachero for the bug report.

This commit is contained in:
chess.griffin 2008-12-23 22:05:48 +00:00
parent 58e9e9939e
commit f088c67010

View File

@ -590,7 +590,7 @@ elif [ $CHOICE = 0 ]; then
if [ "$U" = "Queue" ]; then if [ "$U" = "Queue" ]; then
if $(cat $TMP/sbopkg-tmp-queue | grep -q "$APP"); then if $(cat $TMP/sbopkg-tmp-queue | grep -q "$APP"); then
dialog --title "ERROR" --msgbox "$APP is already in the \ dialog --title "ERROR" --msgbox "$APP is already in the \
queue." 8 20 queue." 8 30
else else
echo "$APP $RVERSION-$RBUILD ON" >> $TMP/sbopkg-tmp-queue echo "$APP $RVERSION-$RBUILD ON" >> $TMP/sbopkg-tmp-queue
dialog --title "Done" --msgbox "$APP has been added to the \ dialog --title "Done" --msgbox "$APP has been added to the \
@ -1175,7 +1175,7 @@ addition to the original SlackBuild."
fi fi
if [ "$SLACKBUILD" = "original" ]; then if [ "$SLACKBUILD" = "original" ]; then
cp $PKGPATH/$PKG.SlackBuild $PKGPATH/$PKG.SlackBuild.build cp $PKGPATH/$PKG.SlackBuild $PKGPATH/$PKG.SlackBuild.build
elif [ "$DOTINFO" = "local" ]; then elif [ "$SLACKBUILD" = "local" ]; then
cp $PKGPATH/$PKG.SlackBuild.sbopkg $PKGPATH/$PKG.SlackBuild.build cp $PKGPATH/$PKG.SlackBuild.sbopkg $PKGPATH/$PKG.SlackBuild.build
fi fi
} }