瀏覽代碼

Merge pull request #42 from jdkelleher/apt-get_-y

added -y flag to apt-get calls
tags/v0.7.0
Niels Abspoel 5 年之前
父節點
當前提交
aaa1f5b23f
No account linked to committer's email address
共有 4 個文件被更改,包括 6 次插入6 次删除
  1. +3
    -3
      README.rst
  2. +1
    -1
      apt/dist_upgrade.sls
  3. +1
    -1
      apt/update.sls
  4. +1
    -1
      apt/upgrade.sls

+ 3
- 3
README.rst 查看文件

@@ -17,17 +17,17 @@ Available states
``apt.dist_upgrade``
--------------------

Runs ``apt-get dist-upgrade``.
Runs ``apt-get -y dist-upgrade``.

``apt.update``
--------------

Runs ``apt-get update``.
Runs ``apt-get -y update``.

``apt.upgrade``
---------------

Runs ``apt-get upgrade``.
Runs ``apt-get -y upgrade``.

``apt.repositories``
--------------------

+ 1
- 1
apt/dist_upgrade.sls 查看文件

@@ -1,4 +1,4 @@
apt-get dist-upgrade:
apt-get -y dist-upgrade:
cmd.wait:
- watch:
- file: /etc/apt/sources.list

+ 1
- 1
apt/update.sls 查看文件

@@ -1,4 +1,4 @@
apt-get update:
apt-get -y update:
cmd.wait:
- watch:
- file: /etc/apt/sources.list

+ 1
- 1
apt/upgrade.sls 查看文件

@@ -1,4 +1,4 @@
apt-get upgrade:
apt-get -y upgrade:
cmd.wait:
- watch:
- file: /etc/apt/sources.list

Loading…
取消
儲存