Gentoo installation script
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

defaults.sh 271B

12345678910111213
  1. # /etc/profile.d/defaults.sh
  2. ## User Directories
  3. if [ "$(whoami)" != 'root' ]; then
  4. Folders="Documents Downloads Music Pictures Projects Videos"
  5. for Folder in $Folders; do
  6. [ -d "$HOME"/"$Folder" ] ||
  7. mkdir "$HOME"/"$Folder"
  8. done
  9. unset Folders
  10. fi