mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -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
|
||||
|
||||
* 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
|
||||
|
||||
|
|
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -30,8 +30,7 @@ if [ -d "$DIR" ]; then
|
|||
for d in "$DIR"/*; do
|
||||
[ -d "$d" ] || continue
|
||||
touch "$d/$PKG.reload-required"
|
||||
u=$(echo "$d" | sed "s:^.*/S-::")
|
||||
chown $u "$d/$PKG.reload-required"
|
||||
chown --reference "$d" "$d/$PKG.reload-required" || true
|
||||
chmod 700 "$d/$PKG.reload-required"
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue