Skip to content

Commit 5e4db13

Browse files
authored
Remove sudo
1 parent 43f550e commit 5e4db13

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

setup.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,10 @@ cp -rf /usr/local/bin/enginescript/config/etc/update-motd.d/99-enginescript /etc
154154
chmod +x /etc/update-motd.d/99-enginescript
155155
chown root:root /etc/update-motd.d/99-enginescript
156156
dos2unix /etc/update-motd.d/99-enginescript
157+
157158
# Test MOTD
158-
sudo run-parts --test /etc/update-motd.d/
159-
sudo run-parts /etc/update-motd.d/
159+
run-parts --test /etc/update-motd.d/
160+
run-parts /etc/update-motd.d/
160161

161162
# HWE
162163
apt install --install-recommends linux-generic-hwe-${UBUNTU_VERSION} -y

0 commit comments

Comments
 (0)