|
@@ -3579,16 +3579,20 @@ rm -rf "$SKEL_PREFIX/$ROOT_PREFIX/bin/ntbtls-config"
|
|
# Still need to do this for debs, but oh well. We just won't use the yet :P
|
|
# Still need to do this for debs, but oh well. We just won't use the yet :P
|
|
sudo chown -R root:wheel "$SKEL_PREFIX/$ROOT_PREFIX"
|
|
sudo chown -R root:wheel "$SKEL_PREFIX/$ROOT_PREFIX"
|
|
sudo chown root:admin "$SKEL_PREFIX/private"
|
|
sudo chown root:admin "$SKEL_PREFIX/private"
|
|
-#sudo chown root:admin "$SKEL_PREFIX/Applications"
|
|
|
|
-#sudo chown -R root:wheel "$SKEL_PREFIX/Library"
|
|
|
|
sudo chown -R root:wheel "$SKEL_PREFIX/private/etc"
|
|
sudo chown -R root:wheel "$SKEL_PREFIX/private/etc"
|
|
sudo chown -R root:wheel "$SKEL_PREFIX/private/var"
|
|
sudo chown -R root:wheel "$SKEL_PREFIX/private/var"
|
|
#sudo chmod 6755 "$SKEL_PREFIX/usr/bin/nitoHelper"
|
|
#sudo chmod 6755 "$SKEL_PREFIX/usr/bin/nitoHelper"
|
|
#sudo chmod 6755 "$SKEL_PREFIX/usr/bin/nitoUpdate"
|
|
#sudo chmod 6755 "$SKEL_PREFIX/usr/bin/nitoUpdate"
|
|
rm -rf skel.tgz
|
|
rm -rf skel.tgz
|
|
cd "$SKEL_PREFIX"
|
|
cd "$SKEL_PREFIX"
|
|
-#sudo tar cpz -P --exclude .DS_Store -f ../skel.tgz Applications usr private Library
|
|
|
|
-sudo tar cpz -P --exclude .DS_Store -f ../skel.tgz usr private
|
|
|
|
|
|
+if [ "$NITOTV" == "true" ]; then
|
|
|
|
+ sudo chown root:admin "$SKEL_PREFIX/Applications"
|
|
|
|
+ sudo chown -R root:wheel "$SKEL_PREFIX/Library"
|
|
|
|
+ sudo chmod 6755 "$SKEL_PREFIX/usr/libexec/goNito"
|
|
|
|
+ sudo tar cpz -P --exclude .DS_Store -f ../skel.tgz Applications usr private Library
|
|
|
|
+else
|
|
|
|
+ sudo tar cpz -P --exclude .DS_Store -f ../skel.tgz usr private
|
|
|
|
+fi
|
|
|
|
|
|
cd "$BUILD_ROOT"
|
|
cd "$BUILD_ROOT"
|
|
|
|
|