|
@ -1,13 +1,4 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
basedir=$(dirname $0) |
|
|
|
|
|
codename=$(lsb_release -c | cut -f2) |
|
|
codename=$(lsb_release -c | cut -f2) |
|
|
runfile="$basedir/$codename" |
|
|
|
|
|
|
|
|
|
|
|
if [[ -f "$runfile" ]]; then |
|
|
|
|
|
echo "run $runfile" |
|
|
|
|
|
$runfile |
|
|
|
|
|
else |
|
|
|
|
|
echo 2> "unknown Debian codename <$codename>" |
|
|
|
|
|
exit 1 |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
curl https://git.artcode.re/pvincent/debian-gnome/raw/branch/master/src/$codename | bash -s -- |