diff --git a/packaging/ubuntu/icons/lbry128.png b/packaging/ubuntu/icons/lbry128.png new file mode 100644 index 000000000..de083fcbc Binary files /dev/null and b/packaging/ubuntu/icons/lbry128.png differ diff --git a/packaging/ubuntu/icons/lbry256.png b/packaging/ubuntu/icons/lbry256.png new file mode 100644 index 000000000..659957406 Binary files /dev/null and b/packaging/ubuntu/icons/lbry256.png differ diff --git a/packaging/ubuntu/icons/lbry32.png b/packaging/ubuntu/icons/lbry32.png new file mode 100644 index 000000000..ece10998c Binary files /dev/null and b/packaging/ubuntu/icons/lbry32.png differ diff --git a/packaging/ubuntu/icons/lbry48.png b/packaging/ubuntu/icons/lbry48.png new file mode 100644 index 000000000..bba3a8e9d Binary files /dev/null and b/packaging/ubuntu/icons/lbry48.png differ diff --git a/packaging/ubuntu/icons/lbry96.png b/packaging/ubuntu/icons/lbry96.png new file mode 100644 index 000000000..195c31ea7 Binary files /dev/null and b/packaging/ubuntu/icons/lbry96.png differ diff --git a/packaging/ubuntu/ubuntu_package_setup.sh b/packaging/ubuntu/ubuntu_package_setup.sh index 6f237abf7..dbfbf754d 100755 --- a/packaging/ubuntu/ubuntu_package_setup.sh +++ b/packaging/ubuntu/ubuntu_package_setup.sh @@ -151,9 +151,21 @@ function addfile() { cp "$FILE" "data/$TARGET" echo "$(md5sum "data/$TARGET" | cut -d' ' -f1) $TARGET" >> control/md5sums } -addfile "$PACKAGING_DIR/lbry" usr/share/python/lbrynet/bin/lbry + + +addfile "$PACKAGING_DIR/icons/lbry32.png" usr/share/icons/hicolor/32x32/apps/lbry.png +addfile "$PACKAGING_DIR/icons/lbry48.png" usr/share/icons/hicolor/48x48/apps/lbry.png +addfile "$PACKAGING_DIR/icons/lbry96.png" usr/share/icons/hicolor/96x96/apps/lbry.png +addfile "$PACKAGING_DIR/icons/lbry128.png" usr/share/icons/hicolor/128x128/apps/lbry.png +addfile "$PACKAGING_DIR/icons/lbry256.png" usr/share/icons/hicolor/256x256/apps/lbry.png addfile "$PACKAGING_DIR/lbry.desktop" usr/share/applications/lbry.desktop +$BINPATH=usr/share/python/lbrynet/bin +addfile "$PACKAGING_DIR/lbry" "$BINPATH/lbry" + +ln -s "/$BINPATH/lbry" "$PACKAGING_DIR/lbry-temp-symlink" +addfile "$PACKAGING_DIR/lbry-temp-symlink" usr/local/bin/lbry + cat "$PACKAGING_DIR/postinst_append" >> control/postinst # repackage .deb