feat: finish migrate
This commit is contained in:
+12
-10
@@ -42,13 +42,15 @@ class Latex(decman.Module):
|
||||
}
|
||||
|
||||
def on_enable(self, store: decman.Store):
|
||||
decman.prg(
|
||||
[
|
||||
"cd",
|
||||
"~/projects/",
|
||||
"git",
|
||||
"clone",
|
||||
"https://git.janishutz.com/janishutz/latex",
|
||||
],
|
||||
user=self._user,
|
||||
)
|
||||
out = decman.prg(["cd ~/projects/latex/"], user=self._user)
|
||||
if out == "":
|
||||
decman.prg(
|
||||
[
|
||||
"cd",
|
||||
"~/projects/",
|
||||
"git",
|
||||
"clone",
|
||||
"https://git.janishutz.com/janishutz/latex",
|
||||
],
|
||||
user=self._user,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user