add setup scripts for linux, change data folder, basic working on linux fist time

This commit is contained in:
2021-12-05 02:24:32 -03:00
parent 39e02f0e40
commit 338a61a284
30 changed files with 216 additions and 98 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
mkdir /opt
sudo pacman -S 7zip
sudo 7z x ../setup/data -o/opt/ -aoa
sudo chown root -R /opt/Librography
sudo chmod 777 -R /opt/
cp DBType /opt/Librography/
#touch /opt/Librography/DBType
#echo "mysql" >> /opt/Librography/DBType
#sed -i 's/^[^0-9]*//' /opt/Librography/DBType
#pause