X-Git-Url: https://plomlompom.com/repos/?p=config;a=blobdiff_plain;f=buster%2Fsetup_scripts%2Fsetup_desktop.sh;h=97488e1977314d11ff50a2f73a5dff7516880629;hp=16074f54fd564f82980a81c72d49e2fdc558e261;hb=5ae82c06a14cb1342d5dc7617907223a1bb1fb75;hpb=1e501756aef536ecf00a826eecff314a43cd7574 diff --git a/buster/setup_scripts/setup_desktop.sh b/buster/setup_scripts/setup_desktop.sh index 16074f5..97488e1 100755 --- a/buster/setup_scripts/setup_desktop.sh +++ b/buster/setup_scripts/setup_desktop.sh @@ -5,7 +5,7 @@ if [ "$#" -ne 1 ]; then echo 'Need exactly one argument (system name).' false fi -if [ ! "$1" = "eeepc" ] && [ ! "$1" = "x200s" ] && [ ! "$1" = "w530" ]; then +if [ ! "$1" = "eeepc" ] && [ ! "$1" = "x200s" ] && [ ! "$1" = "x220" ] && [ ! "$1" = "w530" ]; then echo "Need legal system name." false fi @@ -15,14 +15,11 @@ system_name="$1" config_tree_prefix="${HOME}/config/buster" setup_scripts_dir="${config_tree_prefix}/setup_scripts" cd "${setup_scripts_dir}" -./setup.sh "${system_name}" "" user desktop "${system_name}" -if [ "$1" = "x200s" ] || [ "$1" = "w530" ]; then - ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" thinkpad +if [ "$1" = "x200s" ] || [ "$1" = "x220" ] || [ "$1" = "w530" ]; then + ./setup.sh "${system_name}" "" user desktop thinkpad "${system_name}" +else + ./setup.sh "${system_name}" "" user desktop "${system_name}" fi -# TODO: these /should/ redundant, try out without them: -#./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" user desktop "${system_name}" -#./install_for_target.sh user desktop "${system_name}" - # For hibernation on lid switch to work, we need a newer kernel on the EeePC, # see . if [ "${system_name}" = "eeepc" ]; then