mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
byobu-export: add byobu-config to the export tarball
This commit is contained in:
parent
194bd945fc
commit
f1eecb2b7f
2 changed files with 5 additions and 1 deletions
|
@ -210,10 +210,11 @@ touch "$DIR/.$PKG/profile"
|
|||
dpkg-query --show --showformat '${Package} ${Version}\n' $PKG > "$DIR/.$PKG/version" 2>/dev/null || true
|
||||
echo "http://launchpad.net/$PKG" >> "$DIR/.$PKG/version"
|
||||
|
||||
# Copy status scripts
|
||||
# Copy necessary scripts
|
||||
cp -a /usr/lib/$PKG/* "$DIR/.$PKG/bin"
|
||||
cp -a /usr/bin/$PKG-status "$DIR/.$PKG"
|
||||
cp -a /usr/bin/$PKG-janitor "$DIR/.$PKG"
|
||||
cp -a /usr/bin/$PKG-config "$DIR/.$PKG"
|
||||
|
||||
# Generate the monolithic profile
|
||||
header > "$PROFILE"
|
||||
|
@ -227,6 +228,8 @@ sed -i "s:^source .*::" "$PROFILE"
|
|||
sed -i "s:.$PKG/profile\":\.screenrc\":" "$PROFILE"
|
||||
# Drop the F9->Menu key
|
||||
sed -i "s:^bindkey -k k9 screen -t help:#bindkey -k k9 screen -t help:" "$PROFILE"
|
||||
# Use the local byobu-config
|
||||
sed -i "s:$PKG-config:\$HOME/.$PKG/$PKG-config:" "$PROFILE"
|
||||
|
||||
# tar up the results
|
||||
tar --owner=root --group=root -zcf "$file" -C "$DIR" . || error "Could not create archive"
|
||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -10,6 +10,7 @@ byobu (2.39) unreleased; urgency=low
|
|||
* byobu-config: make byobu more python 2.5 friendly, by dropping the
|
||||
'finally' clauses
|
||||
* bin/menu: add some logic in support of byobu-export'd configurations
|
||||
* byobu-export: add byobu-config to the export tarball
|
||||
|
||||
[ Derek Carter ]
|
||||
* rpm/byobu.spec: updated for Fedora 11
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue