Skip to content

Commit

Permalink
fix chmod/chown for debian tree
Browse files Browse the repository at this point in the history
  • Loading branch information
hg42 committed Aug 23, 2013
1 parent 3e05699 commit a35f8a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cura/util/Power
Submodule Power added at 9630ad
5 changes: 3 additions & 2 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ if [ "$BUILD_TARGET" = "debian" ]; then
cp scripts/linux/cura.py scripts/linux/debian/usr/share/cura/
cp -a Power/power scripts/linux/debian/usr/share/cura/
echo $BUILD_NAME > scripts/linux/debian/usr/share/cura/Cura/version
sudo chown root:root scripts/linux/debian -R
sudo chmod 755 scripts/linux/debian/DEBIAN/*
sudo chown root:root scripts/linux/debian/usr -R
sudo chmod 755 scripts/linux/debian/usr -R
sudo chmod 755 scripts/linux/debian/DEBIAN -R
cd scripts/linux
dpkg-deb --build debian ${TARGET_DIR}.deb
sudo chown `id -un`:`id -gn` debian -R
Expand Down

0 comments on commit a35f8a0

Please sign in to comment.