added: plymouth-git

This commit is contained in:
Sebastian Rust
2022-07-10 13:24:42 +02:00
parent fc7ebde56f
commit e13e775ecb
3 changed files with 9 additions and 2 deletions

3
.gitmodules vendored
View File

@@ -49,3 +49,6 @@
[submodule "scrub"] [submodule "scrub"]
path = scrub path = scrub
url = https://aur.archlinux.org/scrub.git url = https://aur.archlinux.org/scrub.git
[submodule "plymouth-git"]
path = plymouth-git
url = https://aur.archlinux.org/plymouth-git.git

1
plymouth-git Submodule

Submodule plymouth-git added at e93c21dcc8

View File

@@ -9,9 +9,12 @@ def aur(c, name):
@task @task
def add(c, url, name=None): def add(c, url, name=None):
if name is None: if name is None:
name = url ending = url.rfind('/') + 1
c.run(f"git submodule add {url}") ending = ending.split(".")
name = ending[0]
c.run(f"git submodule add {url} {name}")
c.run(f"git commit -am 'added: {name}'") c.run(f"git commit -am 'added: {name}'")
addyaml(c, name)
@task @task
def update(c): def update(c):