X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-begin;h=5ffb0d288e3b4cf2fb161deaf19de67dc82bdc4e;hb=be6cf346ed72fc65178006bf81a1e760e19627ec;hp=b0fcdf521f0d1a35b8c71bc10644c02345d67f41;hpb=7b7a6de94fdeb15d53efbb3036643a36a8fdd68b;p=distro-setup diff --git a/distro-begin b/distro-begin index b0fcdf5..5ffb0d2 100755 --- a/distro-begin +++ b/distro-begin @@ -1,6 +1,18 @@ #!/bin/bash -l # Copyright (C) 2016 Ian Kelling -# This program is under GPL v. 3 or later, see + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # todo. dunno why, but original bootstrap of timezone is not sticking. # fixed manually with: @@ -233,21 +245,11 @@ isfedora && tu /etc/sysctl.conf 'kernel.sysrq = 1' if isdebian; then codename=$(debian-codename) - # non-existent var, as Im not planning to use stable right now - if isdebian-stable; then - if has_x; then - s dd of=/etc/apt/sources.list.d/mozilla-iceweasel.list </dev/null; then + pi $p + fi ;;& ubuntu|debian) if has_x; then @@ -530,9 +530,18 @@ EOF ;;& ubuntu|debian|fedora) if has_x; then - pi xkbset - fi - ;;& + if isdebian-stable; then + pi xkbset + else + # xkbset was in testing for quite a while, dunno + # why it's not anymore. Sometime I should check and + # see if it's back in testing, but the unstable package + # doesn't upgrade anything form testing, and it's tiny + # so I'm not bothering to automate it. + pi xkbset/unstable +fi +fi +;;& esac if has_x; then