Compare commits
No commits in common. "main" and "0.0.1" have entirely different histories.
10 changed files with 0 additions and 14 deletions
|
|
@ -1 +0,0 @@
|
||||||
Thing
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
[ "$(cat /sys/class/power_supply/ADP*/online 2>/dev/null)" = "1" ] && echo "ADP Online" || echo "ADP Offline; using battery"
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -euo pipefail
|
|
||||||
DATE=$(date -I)
|
|
||||||
REPORT_PATH=$HOME/ereport-$(date -I).txt
|
|
||||||
if [[ -f "$REPORT_PATH" ]]; then
|
|
||||||
echo "Today's report already exists at $REPORT_PATH!"
|
|
||||||
else
|
|
||||||
echo "Syncing repositories..."
|
|
||||||
# sudo emerge --sync >> "$REPORT_PATH"
|
|
||||||
echo "Writing update report..."
|
|
||||||
sudo emerge --update --newuse --deep @world --pretend >> "$REPORT_PATH"
|
|
||||||
fi
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue