File: update-vbox-icons.sh

package info (click to toggle)
lxqt-runner 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,244 kB
  • sloc: cpp: 2,143; makefile: 12; sh: 6
file content (10 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -e

cd vbox-icons
for img in *.png; do
    # Use --fail so that the command fails when the icon is missing
    echo Updating $img ...
    curl --fail https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Frontends/VirtualBox/images/$img > $img
done