-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
the makefile from the archive : youtube-downloader-1.0-1.tar.gz, install in the /usr/local/share/application/ file which give the error :
Installing files...
cp: impossible de créer le fichier standard '/usr/local/share/applications/': N'est pas un dossier
make: *** [Makefile:19 : install] Erreur 1
arch linux distribution. there is the modified makefile for arch linux ditribution
APPDIR=/usr/local/lib/youtube-downloader
CFGDIR=/usr/local/etc/youtube-downloader
DESKTOPDIR=/usr/local/share/applications
ICONDIR=/usr/share/pixmaps
install:
@echo "Installing files..."
@mkdir $(APPDIR)
@mkdir $(CFGDIR)
@mkdir $(DESKTOPDIR)
@cp *.py $(APPDIR)/
@cp youtube-downloader $(APPDIR)/
@cp uninstall.sh $(APPDIR)/
@mv $(APPDIR)/main_application.py "$(APPDIR)/Youtube Downloader"
@cp -r layouts $(APPDIR)
@cp -r fonts $(APPDIR)
@cp -r images $(APPDIR)
@cp var.cfg $(APPDIR)/var.cfg
@cp -r config/* $(CFGDIR)/
@chmod 777 $(CFGDIR)/*
@cp youtube-downloader.desktop $(DESKTOPDIR)/
@cp images/icon.png $(ICONDIR)/youtube-downloader.png
@echo "Installing requirements..."
@pip install -r requirements.txt
@ln -s $(APPDIR)/youtube-downloader /usr/local/bin/youtube-downloader
Metadata
Metadata
Assignees
Labels
No labels