Build with autostart
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1m10s
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1m10s
This commit is contained in:
parent
f051db7cea
commit
09762bcb9e
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
3
|
4
|
14
Makefile
14
Makefile
@ -11,17 +11,21 @@ install:
|
|||||||
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||||
mkdir -p $(DESTDIR)/usr/share/applications
|
mkdir -p $(DESTDIR)/usr/share/applications
|
||||||
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
||||||
cp -vf target/debug/pikman-update-manager $(DESTDIR)/usr/bin/
|
mkdir -p $(DESTDIR)/etc/xdg/autostart
|
||||||
|
cp -vf target/release/pikman-update-manager $(DESTDIR)/usr/bin/
|
||||||
|
cp -vf data/pikman-update-manager-autostart $(DESTDIR)/usr/bin/
|
||||||
cp -vf data/flatpak-installer $(DESTDIR)/usr/bin/
|
cp -vf data/flatpak-installer $(DESTDIR)/usr/bin/
|
||||||
cp -vf data/software-properties-gtk $(DESTDIR)/usr/bin/
|
cp -vf data/software-properties-gtk $(DESTDIR)/usr/bin/
|
||||||
cp -vf target/debug/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
cp -vf target/release/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||||
cp -vf target/debug/apt_full_upgrade $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
cp -vf target/release/apt_full_upgrade $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||||
cp -vf data/modify_repo.sh $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
cp -vf data/modify_repo.sh $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||||
cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||||
cp -vf data/com.github.pikaos-linux.pikmanupdatemanager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
cp -vf data/com.github.pikaos-linux.pikmanupdatemanager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
||||||
cp -vf data/*.desktop $(DESTDIR)/usr/share/applications/
|
cp -vf data/*.desktop $(DESTDIR)/usr/share/applications/
|
||||||
cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
||||||
|
cp -vf data/pikman-update-manager-autostart.desktop $(DESTDIR)/etc/xdg/autostart/
|
||||||
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager
|
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager
|
||||||
|
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager-autostart
|
||||||
chmod 755 $(DESTDIR)/usr/bin/flatpak-installer
|
chmod 755 $(DESTDIR)/usr/bin/flatpak-installer
|
||||||
chmod 755 $(DESTDIR)/usr/bin/software-properties-gtk
|
chmod 755 $(DESTDIR)/usr/bin/software-properties-gtk
|
||||||
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
||||||
@ -32,7 +36,9 @@ install_no_build_debug:
|
|||||||
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||||
mkdir -p $(DESTDIR)/usr/share/applications
|
mkdir -p $(DESTDIR)/usr/share/applications
|
||||||
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
||||||
|
mkdir -p $(DESTDIR)/etc/xdg/autostart
|
||||||
cp -vf target/debug/pikman-update-manager $(DESTDIR)/usr/bin/
|
cp -vf target/debug/pikman-update-manager $(DESTDIR)/usr/bin/
|
||||||
|
cp -vf data/pikman-update-manager-autostart $(DESTDIR)/usr/bin/
|
||||||
cp -vf data/flatpak-installer $(DESTDIR)/usr/bin/
|
cp -vf data/flatpak-installer $(DESTDIR)/usr/bin/
|
||||||
cp -vf data/software-properties-gtk $(DESTDIR)/usr/bin/
|
cp -vf data/software-properties-gtk $(DESTDIR)/usr/bin/
|
||||||
cp -vf target/debug/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
cp -vf target/debug/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||||
@ -42,7 +48,9 @@ install_no_build_debug:
|
|||||||
cp -vf data/com.github.pikaos-linux.pikmanupdatemanager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
cp -vf data/com.github.pikaos-linux.pikmanupdatemanager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
||||||
cp -vf data/*.desktop $(DESTDIR)/usr/share/applications/
|
cp -vf data/*.desktop $(DESTDIR)/usr/share/applications/
|
||||||
cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
||||||
|
cp -vf data/pikman-update-manager-autostart.desktop $(DESTDIR)/etc/xdg/autostart/
|
||||||
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager
|
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager
|
||||||
|
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager-autostart
|
||||||
chmod 755 $(DESTDIR)/usr/bin/flatpak-installer
|
chmod 755 $(DESTDIR)/usr/bin/flatpak-installer
|
||||||
chmod 755 $(DESTDIR)/usr/bin/software-properties-gtk
|
chmod 755 $(DESTDIR)/usr/bin/software-properties-gtk
|
||||||
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
6
data/pikman-update-manager-autostart
Normal file
6
data/pikman-update-manager-autostart
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
DISPLAY_CHECK=$(echo $DISPLAY)
|
||||||
|
WHO=$(whoami)
|
||||||
|
if [[ $DISPLAY_CHECK ]] && [[ $WHO != "pikaos" ]] && [[ $WHO != "gnome-initial-setup" ]] ; then
|
||||||
|
pikman-update-manager --hidden
|
||||||
|
fi
|
9
data/pikman-update-manager-autostart.desktop
Normal file
9
data/pikman-update-manager-autostart.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Pikman Update Manager
|
||||||
|
Exec=pikman-update-manager-autostart
|
||||||
|
Icon=com.github.pikaos-linux.pikmanupdatemanager
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Encoding=UTF-8
|
||||||
|
Categories=GNOME;GTK;Settings;X-GNOME-SystemSettings;X-GNOME-Settings-Panel;X-Unity-Settings-Panel;
|
||||||
|
NoDisplay=true
|
10
debian/rules
vendored
10
debian/rules
vendored
@ -22,17 +22,21 @@ override_dh_auto_install:
|
|||||||
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||||
mkdir -p $(DESTDIR)/usr/share/applications
|
mkdir -p $(DESTDIR)/usr/share/applications
|
||||||
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
||||||
cp -vf target/debug/pikman-update-manager $(DESTDIR)/usr/bin/
|
mkdir -p $(DESTDIR)/etc/xdg/autostart
|
||||||
|
cp -vf target/release/pikman-update-manager $(DESTDIR)/usr/bin/
|
||||||
|
cp -vf data/pikman-update-manager-autostart $(DESTDIR)/usr/bin/
|
||||||
cp -vf data/flatpak-installer $(DESTDIR)/usr/bin/
|
cp -vf data/flatpak-installer $(DESTDIR)/usr/bin/
|
||||||
cp -vf data/software-properties-gtk $(DESTDIR)/usr/bin/
|
cp -vf data/software-properties-gtk $(DESTDIR)/usr/bin/
|
||||||
cp -vf target/debug/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
cp -vf target/release/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||||
cp -vf target/debug/apt_full_upgrade $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
cp -vf target/release/apt_full_upgrade $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||||
cp -vf data/modify_repo.sh $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
cp -vf data/modify_repo.sh $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||||
cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||||
cp -vf data/com.github.pikaos-linux.pikmanupdatemanager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
cp -vf data/com.github.pikaos-linux.pikmanupdatemanager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
||||||
cp -vf data/*.desktop $(DESTDIR)/usr/share/applications/
|
cp -vf data/*.desktop $(DESTDIR)/usr/share/applications/
|
||||||
cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
||||||
|
cp -vf data/pikman-update-manager-autostart.desktop $(DESTDIR)/etc/xdg/autostart/
|
||||||
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager
|
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager
|
||||||
|
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager-autostart
|
||||||
chmod 755 $(DESTDIR)/usr/bin/flatpak-installer
|
chmod 755 $(DESTDIR)/usr/bin/flatpak-installer
|
||||||
chmod 755 $(DESTDIR)/usr/bin/software-properties-gtk
|
chmod 755 $(DESTDIR)/usr/bin/software-properties-gtk
|
||||||
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
||||||
|
Loading…
Reference in New Issue
Block a user