Commit 456f62ab authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent 83b9409b
#!/bin/sh #!/bin/sh
BRANCH=stable
PRODUCTDIR=/opt/yandex/browser PRODUCTDIR=/opt/yandex/browser
DESCRIPTION="Yandex browser from the official site" DESCRIPTION="Yandex browser from the official site"
BRANCH=stable
if [ "$2" = "beta" ] ; then if [ "$2" = "beta" ] ; then
BRANCH=beta BRANCH=beta
PRODUCTDIR=/opt/yandex/browser-$BRANCH PRODUCTDIR=/opt/yandex/browser-$BRANCH
......
...@@ -87,6 +87,7 @@ install_deps() ...@@ -87,6 +87,7 @@ install_deps()
add_bin_commands() add_bin_commands()
{ {
mkdir -p $BUILDROOT/usr/bin
if [ -L $BUILDROOT/usr/bin/$PRODUCTCUR ] ; then if [ -L $BUILDROOT/usr/bin/$PRODUCTCUR ] ; then
rm -fv $BUILDROOT/usr/bin/$PRODUCTCUR rm -fv $BUILDROOT/usr/bin/$PRODUCTCUR
else else
......
Markdown is supported
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