snwh / ubuntu-post-install

A set of post-installation shell scripts for Ubuntu
GNU General Public License v3.0
696 stars 284 forks source link

Avoid errors when install dependencies #19

Open MAJA-Lin opened 6 years ago

MAJA-Lin commented 6 years ago

Use superuser_do function to install package

MAJA-Lin commented 6 years ago

Hi, I'm not sure if this is a mistake or something, but I had problem when install dependencies. (The scenario is I'm already using root to install stuff and there is no sudo to use) As the commit, I tried with superuser_do and it worked perfectly.