-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tmpl: provide template for new-world-ready apps
- Loading branch information
1 parent
e90803b
commit ee51007
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
{{ if (not (eq (int .Params.compatibility) 4) )}} | ||
1. 从 [{{ partial "apputils/downloadurl" . }}]({{ partial "apputils/downloadurl" . }}) 下载软件包 | ||
2. 安装软件包 | ||
|
||
```bash | ||
oma install "{{ partial "apputils/debname" . | safeHTML }}" | ||
``` | ||
{{ else if (index .Params "x-aosc-pkg-name") }} | ||
请使用如下命令安装社区提供的软件包: | ||
|
||
```bash | ||
oma install "{{ index .Params "x-aosc-pkg-name" | safeHTML}}" | ||
``` | ||
{{ else }} | ||
暂无 | ||
{{ end }} |