diff --git a/.gitmodules b/.gitmodules index 6c84763..6ffbd62 100644 --- a/.gitmodules +++ b/.gitmodules @@ -49,3 +49,6 @@ [submodule "scrub"] path = scrub url = https://aur.archlinux.org/scrub.git +[submodule "plymouth-git"] + path = plymouth-git + url = https://aur.archlinux.org/plymouth-git.git diff --git a/plymouth-git b/plymouth-git new file mode 160000 index 0000000..e93c21d --- /dev/null +++ b/plymouth-git @@ -0,0 +1 @@ +Subproject commit e93c21dcc89d6f9e7058ba7222d484e474d4b673 diff --git a/tasks.py b/tasks.py index bea87ac..2641e37 100644 --- a/tasks.py +++ b/tasks.py @@ -9,9 +9,12 @@ def aur(c, name): @task def add(c, url, name=None): if name is None: - name = url - c.run(f"git submodule add {url}") + ending = url.rfind('/') + 1 + ending = ending.split(".") + name = ending[0] + c.run(f"git submodule add {url} {name}") c.run(f"git commit -am 'added: {name}'") + addyaml(c, name) @task def update(c):