ignore comment-lines
This commit is contained in:
parent
5a70538f0b
commit
5ff7f25f0c
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ do
|
||||||
if stat "${file}" >/dev/null 2>/dev/null ; then
|
if stat "${file}" >/dev/null 2>/dev/null ; then
|
||||||
echo "Stop $app on ${DEST}"
|
echo "Stop $app on ${DEST}"
|
||||||
ssh ${DEST} systemctl stop ${app}.service
|
ssh ${DEST} systemctl stop ${app}.service
|
||||||
cat ${file}|sort -r |while read cmd pkg version ; do
|
cat ${file}|sort -r |grep -v " *#"|while read cmd pkg version ; do
|
||||||
case $cmd in
|
case $cmd in
|
||||||
install)
|
install)
|
||||||
if [ -z "${version}" ]; then
|
if [ -z "${version}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue