Changeset 107226 in vbox
- Timestamp:
- Dec 4, 2024 1:32:42 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/install.sh
r106061 r107226 381 381 fi 382 382 383 # Icons 384 cur=`pwd` 385 cd $INSTALLATION_DIR/icons 386 for i in *; do 387 cd $i 388 if [ -d /usr/share/icons/hicolor/$i ]; then 389 for j in *; do 390 if expr "$j" : "virtualbox\..*" > /dev/null; then 391 dst=apps 392 else 393 dst=mimetypes 394 fi 395 if [ -d /usr/share/icons/hicolor/$i/$dst ]; then 396 ln -s $INSTALLATION_DIR/icons/$i/$j /usr/share/icons/hicolor/$i/$dst/$j 397 echo /usr/share/icons/hicolor/$i/$dst/$j >> $CONFIG_DIR/$CONFIG_FILES 398 fi 399 done 400 fi 401 cd - 402 done 403 cd $cur 383 # Icons (if FE/Qt is included) 384 if [ -d $INSTALLATION_DIR/icons ]; then 385 cur=`pwd` 386 cd $INSTALLATION_DIR/icons 387 for i in *; do 388 cd $i 389 if [ -d /usr/share/icons/hicolor/$i ]; then 390 for j in *; do 391 if expr "$j" : "virtualbox\..*" > /dev/null; then 392 dst=apps 393 else 394 dst=mimetypes 395 fi 396 if [ -d /usr/share/icons/hicolor/$i/$dst ]; then 397 ln -s $INSTALLATION_DIR/icons/$i/$j /usr/share/icons/hicolor/$i/$dst/$j 398 echo /usr/share/icons/hicolor/$i/$dst/$j >> $CONFIG_DIR/$CONFIG_FILES 399 fi 400 done 401 fi 402 cd - 403 done 404 cd $cur 405 fi 404 406 405 407 # Update the MIME database
Note:
See TracChangeset
for help on using the changeset viewer.