new way of handlink update check thx lxnay
Package-Manager: portage-2.2.0_alpha142 RepoMan-Options: --force
This commit is contained in:
parent
e184ab0c88
commit
ec6286c340
@ -1,8 +1,8 @@
|
||||
AUX 00-sabayon-anti-fork-bomb.conf 690 SHA256 80f397f12a746a73d48d90c010d6176c9e0661fbe118c770f97c165810caeee5 SHA512 da4c0ce2efacb3a420a73fc6ac533d17fef8e338bf6d3e784e52e49f1098504e985d4a24a96b4f67c1ceda45942c592423de3f5699cefd4aa148c23f5414acd3 WHIRLPOOL dc283b03fdd9acf8bb27c2904a40f94ebc5c45f81bd4f46c825fa5e999975d5663c25bf1d8226bb4b9e0c31791295dd75e0ef2ed3ed343defaf21557aba71d19
|
||||
AUX check.py 115 SHA256 e8ed197aef798b0656a5b242fd43f8ff913594b1c59d157360740630b3ab2048 SHA512 cfa3a99ca687c065c3a045418548c4ea96062074a7b727f5632e9cfddbc6acfdff81a0aa3ac1738801be044d02ba529e45f35d9867db52f1527f3c76423bf7dd WHIRLPOOL 40c2f49c8ca24dcdb27b3c0c3305b90262e3491918d31851ae7f12196038d6ee4b2175f121bafac31baa461cfb2370e770311dda5380b7c3f548c29d69c61a7e
|
||||
AUX entropy_sablink.nas-central.org 1244 SHA256 d058b4c4b08a72053be40640fbb20bd622f33083a79d7d337bb23e359aa849c6 SHA512 1a697a37fe9e446a56722d1217364a77126313f7607183929a9379363cf9e2a8c1293e667a32bcc5f43c912ef8f99be5139b549993642a4345df20faf08c5a2f WHIRLPOOL 1e43d51314aab979734cedf391b42ef86ac2724173915c4f2213b0c4b26b082b4e9ab92151123c1a63f62df9de02b52e18a44a8d1c4a2c12ab6d97671fc726a6
|
||||
AUX equo-update.cron 56 SHA256 daa3666087585aac025162ee78189c94c6d39662a56c3b7497f6789caabc9364 SHA512 071abc2530ca3842249459ec1996f0e378b6b73bb4d6f5b6daa1b5e92f37342f1eee3f00bc6b2da4f31777ecfc3bf89d034b2362216f38731645a55970a16e65 WHIRLPOOL 82cd89523f0d21c1177b5245bd9afa1f9396c938bf292f6dc80fe6402bcb5501e12f5ec0c81afbea156a85ee5041094a2cc0c35e797663926be9835974814b37
|
||||
AUX greeting.sh 1830 SHA256 92c6b5620c08c7868fda0e7fa7b003872aced5bb11681cf333494dbdc6c6526f SHA512 298d33a3c600c00bc46c54e31f7ec20c4ecca90da143a9b5abfed3aaef7c9d5664419d22b7ebb13ab8c1ba66d1329e114ead4d101093cdac8b20d116891f913e WHIRLPOOL 448d802524acfd01adb970d196b0dde3b777672250c1125632a5e7e68a788f4b0afd883035cff0629b43c6c395f603ae71ca9982df0f4fcc732f60f6519ad7cb
|
||||
AUX equo-update-check 116 SHA256 873651076a33b6ef4e215c2fb3f2a855244a0d8be5bef2fe868f40f1ff13e15f SHA512 e54f2a4d8e4707f10770c646eee73c3449a1c5551fc2b9a191920c061099caac9e957d7f3debca13715aa1733e3819f3df740533c133b28f477de4da61777110 WHIRLPOOL ec70590796356e9a3c795cf1157c4fe21c0f9d098f14c392e09f0fa5fb3c8a84df7dab05c956c29ac123505276238ddeff053200759c94610a52bfd451b43c73
|
||||
AUX equo-update.cron 82 SHA256 8dda4ffa3553445539d121ff5c90106ae41481ca0710ffb13fb63a7877d55a38 SHA512 f77131d851f4b74c498ab6c4f5a1229f598c2c49092bee47c3517ee9446ad96e90f4632d452ec74511a62e739a10bcdcaf44ca88defe4b1faa910637a721da60 WHIRLPOOL 2073ac3b8fdc1e8a50ab9f46b3a73c999ff306d9a10caa1f3994f3e843ee73015e73ee96d8b364db119b9a2c76191b79263f9cd954db0a98850722df363b6d27
|
||||
AUX greeting.sh 1829 SHA256 a8d6da8f7c29ccfe57472a3d317110bb0e4e4fa7b9954b34988a47943a28a81e SHA512 55cfcb88b55edefd16e59afd478e8278c43ee29724ba7af6e79711e006174498da22d2d2a7c1d536d4886c8744a6fd9af2a3679b0c9b18109404c6f5f8fdf422 WHIRLPOOL e790db9f88cf5e3611f35d4162e2c5476f46634be24fb15679a8d068f4d365d70f1ec85231a5cd06f2b7cb98f25a6fd2f1d9e497493c13ab113c3b4d031fb724
|
||||
AUX repositories.conf 2666 SHA256 cc99b0af6f1c5acc5094ff889ceaa19381f03bfba4e59975bb5ea46f3ca38515 SHA512 66a7144042ceda2fc7fd79a3e3af433d8bec7a770ac3a52364d7023d148c7ad1c5887b6965abf3f82fd74e460cd33861b7bb4387df50c3f44666280bf759782a WHIRLPOOL 9aa0ebc1988149c82ef35ca62be849e23536e56b565fefad07cb7f38b641f8addf81735437cd74fdce652d4f514aab7c6206c1da66369299a8bc3f520e2b084a
|
||||
EBUILD sablink-core-0.ebuild 1789 SHA256 74a9909b8c63290e5ff7a3e4f942b8c01c1a765e6cd16ea2c35fc74db0e20e4d SHA512 b9a274f46cd6c4da88210969ecb2518c939567e9a9db2a41871c88d8cc5b4d09a6917ed6b73f80f3bcd1722ca6e850a26404d86f01cf70b754be58ee3cf4247b WHIRLPOOL c3477a1811bfc3015687551ab6e0307058c779254979d0e493c6008a628b0d829a68f4c2a5df21bfba8dc07d6a0d78a4f4994925c8e81e83d72eb61c0b05d112
|
||||
EBUILD sablink-core-0-r1.ebuild 1797 SHA256 b10d9bcb40448af14f0dbd4b8b49262e828e580a9b168bfe8cf7cb114957f021 SHA512 dd9b52f20e344ff8f948c794fda9840f2ea810e70d5e6a4f1956455bad918bdffd607cb65a26bedf79a7f8a03cf76a453f7879b579a4a20723963972ace29efb WHIRLPOOL 2b3751ee81d52a78ed1f5bc4b15c20e6afada841853eb4a4700de6f8c562cd44605c66cf3f4cb2f298cd356f3ac741b9b97e699bb6db60486010f990f202d9bc
|
||||
MISC metadata.xml 201 SHA256 56d6a20c3db8ae4e27afa0c395811020111e1093b58e2a6b4da6f4f3f0605d7e SHA512 a93eecbe1e2d614d3d8ebd418c7bb690221b889790f392c8a3d11f5d726955c53f9c8300c38b734bf0e0ceecb07bf901cbc25b9381d4417fd9b87ab3830279c3 WHIRLPOOL e68445633cbba9adfd423588892a44020aec6c1b2fe479c2c4d58a0dc3b48a011f0dcd681ccc01c204f85c7a33f7171760c12d3a0b5899d66bc97c44c91836ab
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from entropy.client.interfaces import Client
|
||||
cl = Client()
|
||||
print(len(cl.calculate_updates()[0]))
|
3
app-misc/sablink-core/files/equo-update-check
Normal file
3
app-misc/sablink-core/files/equo-update-check
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
[ ! -e /tmp/.equoupdatecheck ] && echo "not checked for" > /tmp/.equoupdatecheck
|
||||
cat /tmp/.equoupdatecheck
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
LC_ALL=en_US.UTF-8 equo update &> /dev/null
|
||||
LC_ALL=en_US.UTF-8 equo query updates --quiet > /tmp/.equoupdatecheck
|
@ -31,5 +31,5 @@ echo '[0;40mUptime : [0;'${COLOUR_INFO3}';40m'$(uptime | cut -c 2-60)
|
||||
echo '[0;40mLogged on as : [0;'${COLOUR_INFO1}';40m'$(whoami)'[0;40m on [0;'${COLOUR_INFO1}';40m'$(tty)'[0;'${COLOUR_INFO3}';40m since [0;'${COLOUR_INFO1}';40m'$(date)''
|
||||
echo '[0;40mUsers logged in : [0;'${COLOUR_INFO1}';40m'$(who -q | more +1)''
|
||||
echo ''
|
||||
echo '[0;40mPackage updates : [0;'${COLOUR_INFO1}';40m'$(sablink-equo-check)' available updates'
|
||||
echo '[0;40mPackage updates : [0;'${COLOUR_INFO1}';40m'$(equo-update-check)' available updates'
|
||||
echo ''
|
||||
|
@ -56,7 +56,7 @@ src_install() {
|
||||
newexe "${FILESDIR}/greeting.sh" 20-greeting
|
||||
|
||||
# install the check for updates script
|
||||
newbin "${FILESDIR}/check.py" sablink-equo-check
|
||||
newbin "${FILESDIR}/equo-update-check" equo-update-check
|
||||
|
||||
# install repository files
|
||||
insinto /etc/entropy
|
Loading…
Reference in New Issue
Block a user