|
2011-01-23
, 20:43
|
Posts: 2 |
Thanked: 5 times |
Joined on Jan 2011
|
#12
|
|
2011-01-23
, 21:10
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#13
|
|
2011-01-23
, 21:19
|
Posts: 10 |
Thanked: 13 times |
Joined on Feb 2010
|
#14
|
The Following 2 Users Say Thank You to BernardB For This Useful Post: | ||
|
2011-01-23
, 21:55
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#15
|
|
2011-01-23
, 21:57
|
Posts: 10 |
Thanked: 13 times |
Joined on Feb 2010
|
#16
|
As for root, I consider your argument as valid, but imho the packages are broken, if they rely on bashisms or other non-standard stuff.
|
2011-01-23
, 22:22
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#17
|
|
2011-01-25
, 17:54
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#20
|
If you've already got a .sh script, then this seems to describe a variety of methods + packages for making it into a .deb
I did 'chsh -s /bin/zsh' for both user & root, run 'sed -i "s@/bin/sh@/bin/zsh@"' on everything in /etc/X11/* and put your command in .zshenv of both user & root. Rebooted and it booted straight up, and 'echo $SHELL' reports zsh for both users.
The one thing I left out right now, is the chmod&chown-part described above, to properly use compinit.
So I'll create a backup now and see if maybe the chown/chmod is causing the havoc.
Edit, holy hell, it still works.
Edit2, I also added 'PATH=/sbin:/bin/:...' to the .zshrc of root, since that didn't get set correctly and somehow only had /usr/{sbin} in it, so that could have been the problem, too.
Edit3, for now I'm happy, I'll do a backup, grab something to eat, do a full reflash and if it works again, rewrite the guide. Thanks for the hints so far
Edit4, if someone with more knowledge of Debian internals knows how to make a .deb out of this, a simple guide or a working .deb itself would be nice. Thanks.
Last edited by avx; 2011-01-23 at 18:12.