Create icons folder if it doesn't exist

If it doesn't exist first, `hicolor` will be stripped from the path by the `cp` command
This commit is contained in:
Lctrs 2020-11-25 12:08:10 +01:00 committed by GitHub
parent bce5ed05f9
commit 57b1a0d232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ common:
-mkdir -p $(LIB_PATH)/syncplay/syncplay/resources/lua/intf -mkdir -p $(LIB_PATH)/syncplay/syncplay/resources/lua/intf
-mkdir -p $(APP_SHORTCUT_PATH) -mkdir -p $(APP_SHORTCUT_PATH)
-mkdir -p $(SHARE_PATH)/pixmaps/ -mkdir -p $(SHARE_PATH)/pixmaps/
-mkdir -p $(SHARE_PATH)/icons/
cp -r syncplay $(LIB_PATH)/syncplay/ cp -r syncplay $(LIB_PATH)/syncplay/
chmod 755 $(LIB_PATH)/syncplay/ chmod 755 $(LIB_PATH)/syncplay/
cp -r syncplay/resources/hicolor $(SHARE_PATH)/icons/ cp -r syncplay/resources/hicolor $(SHARE_PATH)/icons/