mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* debian/postinst:
- handle ownerships of the reload profile flag more gracefully
This commit is contained in:
parent
ac62247d07
commit
4d200e3b1e
2 changed files with 3 additions and 3 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
||||||
byobu (4.11) unreleased; urgency=low
|
byobu (4.11) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* debian/postinst:
|
||||||
|
- handle ownerships of the reload profile flag more gracefully
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 11 Jun 2011 09:42:07 -0400
|
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 11 Jun 2011 09:42:07 -0400
|
||||||
|
|
||||||
|
|
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -30,8 +30,7 @@ if [ -d "$DIR" ]; then
|
||||||
for d in "$DIR"/*; do
|
for d in "$DIR"/*; do
|
||||||
[ -d "$d" ] || continue
|
[ -d "$d" ] || continue
|
||||||
touch "$d/$PKG.reload-required"
|
touch "$d/$PKG.reload-required"
|
||||||
u=$(echo "$d" | sed "s:^.*/S-::")
|
chown --reference "$d" "$d/$PKG.reload-required" || true
|
||||||
chown $u "$d/$PKG.reload-required"
|
|
||||||
chmod 700 "$d/$PKG.reload-required"
|
chmod 700 "$d/$PKG.reload-required"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue