byobu-launcher-uninstall: create the directory, in case this script is

executed before byobu actually runs, LP: #580384
This commit is contained in:
Dustin Kirkland 2010-05-15 16:19:46 -04:00
commit 1bacc8d3c9
2 changed files with 3 additions and 1 deletions

3
debian/changelog vendored
View file

@ -4,7 +4,8 @@ byobu (2.75) UNRELEASED; urgency=low
with arguments, LP: #580760 with arguments, LP: #580760
* ec2_cost, ip_address, network, rcs_cost: fix bug when calling ifconfig * ec2_cost, ip_address, network, rcs_cost: fix bug when calling ifconfig
without setting lang to english, LP: #578792 without setting lang to english, LP: #578792
* byobu-launcher-uninstall: create the directory, in case this script is
executed before byobu actually runs, LP: #580384
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 15 May 2010 15:32:30 -0400 -- Dustin Kirkland <kirkland@ubuntu.com> Sat, 15 May 2010 15:32:30 -0400

View file

@ -31,6 +31,7 @@ remove_launcher() {
for i in ".profile" ".bashrc" ".bash_profile" ".zprofile"; do for i in ".profile" ".bashrc" ".bash_profile" ".zprofile"; do
remove_launcher "$HOME/$i" remove_launcher "$HOME/$i"
done done
mkdir -p "$HOME/.$PKG"
touch "$HOME/.$PKG/disable-autolaunch" touch "$HOME/.$PKG/disable-autolaunch"
# install disabled motd printing; re-enable # install disabled motd printing; re-enable
rm -f "$HOME"/.hushlogin rm -f "$HOME"/.hushlogin