General updates and some cleanup with installs.

This commit is contained in:
2017-04-23 07:09:15 -05:00
parent 5ecee17034
commit 7d072f4954
35 changed files with 56 additions and 15 deletions

View File

@@ -1,6 +1,32 @@
#!/bin/bash
# Fixes ownershp
function main() {
sudo find . -type f -exec chmod 644 {} +
sudo find . -type d -exec chmod 755 {} +
sudo chown -R root:root ./*/
# Set postrm permissions
for i in `find . -name postrm`; do
sudo chmod 555 "${i}"
done
# Set fxwinwrap permissions
for i in `find . -name fxwinwrap`; do
sudo chmod 755 "${i}"
done
# Set xwinwrap permissions
for i in `find . -name xwinwrap`; do
sudo chmod 755 "${i}"
done
sudo chmod 755 fxwinwrap*/opt/FXWinWrap/resources/bin/*
builder;
}
#builds debs
function builder() {
for i in `ls`; do
if [[ -d "${i}" ]]; then
dpkg --build "${i}"

View File

@@ -1,5 +0,0 @@
find . -type f -exec chmod 644 {} +
find . -type d -exec chmod 755 {} +
chown -R root:root ./*/

View File

View File

View File

View File

View File

View File