diff options
author | Simon Rettberg | 2013-06-28 01:57:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2013-06-28 01:57:58 +0200 |
commit | fe0eba24687044cfff5c308d2946685dd1adb5aa (patch) | |
tree | 583886e0c4599ca8e7708bf04a2b358590026b16 /remote/rootfs | |
parent | force forcing of forced timesync (diff) | |
download | tm-scripts-fe0eba24687044cfff5c308d2946685dd1adb5aa.tar.gz tm-scripts-fe0eba24687044cfff5c308d2946685dd1adb5aa.tar.xz tm-scripts-fe0eba24687044cfff5c308d2946685dd1adb5aa.zip |
simplicity + elegance
Diffstat (limited to 'remote/rootfs')
-rw-r--r-- | remote/rootfs/rootfs-stage32/rootfs-stage32.build | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build index bd018adc..73b1a894 100644 --- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build +++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build @@ -122,9 +122,7 @@ post_copy() { # Try to fetch distro logo if [ ! -s "$TARGET_BUILD_DIR/etc/distro.png" ]; then - local DIST=$(lsb_release -a | grep ^Distributor) - DIST="${DIST#*:}" - pinfo "Distribution is $DIST" + local DIST=$(lsb_release -si) if [ -n "$DIST" ]; then wget -O "$TARGET_BUILD_DIR/etc/distro.png" "http://132.230.8.113/distro_logo.php?distro=$DIST" if [ ! -s "$TARGET_BUILD_DIR/etc/distro.png" ]; then |