swc-installation-test-2.py: Sort shells in order of preference
authorW. Trevor King <wking@tremily.us>
Tue, 1 Jan 2013 12:46:48 +0000 (07:46 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 1 Jan 2013 14:49:48 +0000 (09:49 -0500)
Placing the often-symlinked `sh` at the end of the list.  This way if
a user has Bash installed, it doesn't show up as plain old Bourne.

swc-installation-test-2.py

index 61c7e664445469e8a1f5f41f8cc2bbf17bd413c1..705aa04f14c0fd17f772965eded48aa1a9ff08a0 100755 (executable)
@@ -442,14 +442,14 @@ class VirtualDependency (Dependency):
 
 for name,dependencies in [
         ('virtual-shell', (
-            'sh',
-            'ash',
             'bash',
-            'csh',
-            'ksh',
             'dash',
-            'tcsh',
+            'ash',
             'zsh',
+            'ksh',
+            'csh',
+            'tcsh',
+            'sh',
             )),
         ('virtual-editor', (
             'emacs',