presto-admin icon indicating copy to clipboard operation
presto-admin copied to clipboard

presto-admin package install should not fail if the same package is installed twice

Open OluOyedipe opened this issue 8 years ago • 1 comments

presto-admin should check if the package is already installed and if so return a message indicating the package is already installed.

OluOyedipe avatar Jun 20 '16 16:06 OluOyedipe

Dirty fix, comment line in presto_X.py:

class Worker(Script):
    def install(self, env):
        from params import java_home
        Execute('wget --no-check-certificate {0} -O /tmp/{1}'.format(PRESTO_RPM_URL, PRESTO_RPM_NAME))
	#Execute('export JAVA8_HOME={0} && rpm -i /tmp/{1}'.format(java_home, PRESTO_RPM_NAME))
        self.configure(env)

ebuildy avatar Mar 24 '17 10:03 ebuildy