Commit d3c008fe authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra
Browse files

Import Debian version 3.1+parrot1

apt-parrot (3.1+parrot1) rolling-testing; urgency=medium

  * Add snap wrapper
parent 8bd9a53f
Pipeline #976 failed with stages
......@@ -19,6 +19,7 @@ install:
cp apt $(DESTDIR)/usr/local/bin/apt
cp apt $(DESTDIR)/usr/local/bin/apt-get
cp apt $(DESTDIR)/usr/bin/zypper
cp snap $(DESTDIR)/usr/local/bin/snap
chown root:root $(DESTDIR)/etc/apt/sources.list.parrot
chmod 644 $(DESTDIR)/etc/apt/sources.list.parrot
......@@ -37,10 +38,11 @@ install:
chmod 755 $(DESTDIR)/usr/bin/update
chown root:root $(DESTDIR)/usr/local/bin/apt
chmod 755 $(DESTDIR)/usr/local/bin/apt
chown root:root $(DESTDIR)/usr/local/bin/apt-get
chmod 755 $(DESTDIR)/usr/local/bin/apt-get
chown root:root $(DESTDIR)/usr/bin/zypper
chown root:root $(DESTDIR)/usr/local/bin/snap
chmod 755 $(DESTDIR)/usr/local/bin/apt
chmod 755 $(DESTDIR)/usr/local/bin/apt-get
chmod 755 $(DESTDIR)/usr/bin/zypper
chmod 755 $(DESTDIR)/usr/local/bin/snap
......@@ -10,6 +10,7 @@ use apt upgrade --force to override
"
/usr/bin/apt update
/usr/bin/apt full-upgrade
}
......@@ -21,8 +22,8 @@ case $1 in
esac
exit
;;
dup)
/usr/bin/apt dist-upgrade
dup|up|u)
upgrade
exit
;;
refresh)
......@@ -53,6 +54,7 @@ case $1 in
/usr/bin/apt show ${@:2}
exit
;;
esac
/usr/bin/apt $@
apt-parrot (3.1+parrot1) rolling-testing; urgency=medium
* Add snap wrapper
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Fri, 14 Aug 2020 12:29:40 +0200
apt-parrot (3.0+parrot2) rolling; urgency=medium
* Use new Parrot archive domain
......
#!/bin/bash
if [ -x /usr/bin/snapp ]; then
/usr/bin/snap $@
else
echo "SNAP is not currently installed."
echo "SNAP is a universal package manager that works on almost every linux distro"
echo " enabling you to access many programs not currently delivered by"
echo " the official Parrot Security repository."
echo
echo "SNAP is develped by Canonical, the company behind Ubuntu, and it includes"
echo " telemetry that may compromise your privacy or hurt your freedom."
echo " It also allows you to easily install proprietary software"
echo " that may ship further telemetry, perform invasive data collection on you"
echo " and even install malware on your computer."
echo
echo "Please proceed with the installation of SNAP"
echo "only if such conditions are ok for you"
echo "and you accept the consequences."
echo
echo "press ENTER to continue, or CTRL+C to exit"
read
apt update
apt -y install snapd
/usr/bin/snap $@
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment