ChrisTitusTech / Debian-titus

Debian customizations from Chris Titus Tech
GNU General Public License v3.0
414 stars 152 forks source link

user might differ from user_id '1000' #73

Open IgorKerstges opened 1 year ago

IgorKerstges commented 1 year ago

I was playing with the options of this script in dietpi.. The portion:

username=$(id -u -n 1000)
builddir=$(pwd)

grabs the first created user on the system which -in case of dietpi- might be a different user than the one which is used regularly. I created regular user 'igor' for which I had to change 1000 into 1001..