Skip to content

Commit f96189a

Browse files
committed
sudo for installing
[ci skip]
1 parent 66c676e commit f96189a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

appimageupdategui/build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

33
if [ "$(which apt-get)" != "" ] ; then
4-
add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
5-
add-apt-repository -y ppa:vala-team
6-
apt-get update
7-
apt-get -y install libgtk-3-dev valac-0.30 clang cmake libvala-0.30 git
4+
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
5+
sudo add-apt-repository -y ppa:vala-team
6+
sudo apt-get update
7+
sudo apt-get -y install libgtk-3-dev valac-0.30 clang cmake libvala-0.30 git
88
fi
99

1010
if [ "(which yum)" != "" ] ; then
11-
yum -y install gtk3-devel vala clang cmake vala-devel
11+
sudo yum -y install gtk3-devel vala clang cmake vala-devel
1212
fi
1313

1414
valac --pkg 'gtk+-3.0' --pkg 'gmodule-2.0' --pkg posix main.vala progress.vala -o appimageupdategui -v

0 commit comments

Comments
 (0)