added: plymouth-git
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -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
1
plymouth-git
Submodule
Submodule plymouth-git added at e93c21dcc8
7
tasks.py
7
tasks.py
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user