Skip to content

Commit 85ad959

Browse files
committed
Fix Ubuntu 19.10 CI
1 parent 3db6790 commit 85ad959

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/CI.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
- name: Create a new user
126126
shell: bash
127127
run: |
128+
apt-get update
128129
apt-get install sudo usermode -y
129130
useradd swifter
130131
echo "swifter ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fi
5252
if hash swiftbox 2> /dev/null
5353
then
5454
UPGRADE_COMMAND="upgrade"
55-
SWIFTBOX_VERSION=`swiftbox -v`
55+
SWIFTBOX_VERSION=`swiftbox -v -s`
5656
if [ $? != 0 ]
5757
then
5858
UPGRADE_COMMAND="update"

0 commit comments

Comments
 (0)