[fix] Update arguments passed to the scripts
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
app=ynhexample
|
||||
|
||||
# The last argument is the app instance name
|
||||
app=${!#}
|
||||
|
||||
# Retrieve arguments
|
||||
domain=$(sudo yunohost app setting $app domain)
|
||||
|
||||
Reference in New Issue
Block a user