syntax
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
apt-get -qq update
|
apt-get -qq update
|
||||||
listUpgrades=`apt list --upgradable |grep upgradable |cut -d/ -f1`
|
listUpgrades=$(apt list --upgradable |grep upgradable |cut -d/ -f1)
|
||||||
|
|
||||||
echo $listUpgrades
|
echo "$listUpgrades"
|
||||||
echo "=============================="
|
echo "=============================="
|
||||||
|
|
||||||
execUpgrades="DEBIAN_FRONTEND=noninteractive apt-get --yes --assume-yes -o DPkg::options::=\"--force-confdef\" -o DPkg::options::=\"--force-confold\" --only-upgrade -qq install "$listUpgrades
|
execUpgrades="DEBIAN_FRONTEND=noninteractive apt-get --yes --assume-yes -o DPkg::options::=\"--force-confdef\" -o DPkg::options::=\"--force-confold\" --only-upgrade -qq install "$listUpgrades
|
||||||
|
|||||||
Reference in New Issue
Block a user