diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index f1401898..c6cfb6bd 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -824,6 +824,8 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment def run(self): + self.init(database=False) + if len(self.args)==2 or len(self.args)==0: self.init() if len(self.args)==2: @@ -857,6 +859,8 @@ Remove all repository information from the system. def run(self): + self.init(database=False) + if len(self.args)>=1: self.init() for repo in self.args: