permissions fix

This commit is contained in:
Luke 2017-10-06 11:10:06 -07:00
parent fe93a732ce
commit 9485670377
2 changed files with 2 additions and 0 deletions

BIN
.install_packages.sh.swp Normal file

Binary file not shown.

View File

@ -17,6 +17,7 @@ options=(1 "LaTeX packages" off
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
rm -f /home/$USER/.choices #Needed if write protected from root script. rm -f /home/$USER/.choices #Needed if write protected from root script.
echo $choices > /home/$USER/.choices echo $choices > /home/$USER/.choices
chmod 777 /home/$USER/.choices
clear clear
brow=(dialog --separate-output --checklist "Select a browser (none or multiple possible):" 22 76 16) brow=(dialog --separate-output --checklist "Select a browser (none or multiple possible):" 22 76 16)
@ -28,6 +29,7 @@ options=(1 "qutebrowser" off # any option can be set to default to "on"
browch=$("${brow[@]}" "${options[@]}" 2>&1 >/dev/tty) browch=$("${brow[@]}" "${options[@]}" 2>&1 >/dev/tty)
rm -f /home/$USER/.browch #Needed if write protected from root script. rm -f /home/$USER/.browch #Needed if write protected from root script.
echo $browch > /home/$USER/.browch echo $browch > /home/$USER/.browch
chmod 777 /home/$USER/.browch
clear clear
#If this is the first run, install all core programs. #If this is the first run, install all core programs.