Giter Site home page Giter Site logo

Comments (5)

morphis avatar morphis commented on May 18, 2024

@shadownetdev1 this is tricky. We would need to record if ppa-purge was already installed before the installer was executed the first time as otherwise we do something the user doesn't expect from us as he installed ppa-purge on his own rather than we did it. Another option would be that we ship ppa-purge in the snap and don't require its installation at all.

from anbox-installer.

shadownetdev1 avatar shadownetdev1 commented on May 18, 2024

@morphis My suggestion would be to check for an output from which. It is installed on all Ubuntu distros and to the best of my knowledge most Linux distros

It should be something like this:

   if [ -e /etc/apt/sources.list.d/morphis-ubuntu-anbox-support-xenial.list ]; then
           if command -v ppa-purge >/dev/null 2>&1; then
                 sudo ppa-purge ppa:morphis/anbox-support
           else
                 sudo apt install -y ppa-purge
                 sudo ppa-purge ppa:morphis/anbox-support
                 sudo apt remove -y ppa-purge
           fi
   fi

from anbox-installer.

shadownetdev1 avatar shadownetdev1 commented on May 18, 2024

@morphis Updated my comment

from anbox-installer.

morphis avatar morphis commented on May 18, 2024

@shadownetdev1 Can you propose this as PR?

from anbox-installer.

morphis avatar morphis commented on May 18, 2024

This is now solved in master.

from anbox-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.