mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-14 23:24:48 -04:00
💾 Print installtion directory in "make install"
This commit is contained in:
parent
420197b950
commit
c6f5ba6238
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -31,13 +31,14 @@ SHELL:=/bin/bash
|
|||
|
||||
|
||||
install: themes/macOSBigSur
|
||||
@echo "> Installing '$(theme)' cursors..."
|
||||
@if [[ $EUID -ne 0 ]]; then
|
||||
@echo "> Installing '$(theme)' cursors inside $(local)/..."
|
||||
@mkdir -p $(local)
|
||||
@cp -r $(src) $(local_dest) && echo "> Installed!"
|
||||
@else
|
||||
@echo "> Installing '$(theme)' cursors inside $(root)/..."
|
||||
@mkdir -p $(root)
|
||||
@sudo cp -r $(src) $(root_dest) && echo "> Installed as root!"
|
||||
@sudo cp -r $(src) $(root_dest) && echo "> Installed!"
|
||||
@fi
|
||||
|
||||
uninstall:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue