Старый postinstall
This commit is contained in:
commit
4337a3f94e
349 changed files with 21945 additions and 0 deletions
12
deb_dist/postinstall-1.5.0/deb/postinst
Executable file
12
deb_dist/postinstall-1.5.0/deb/postinst
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
mkdir -p /var/lib/postinstall
|
||||
|
||||
if [ ! -f /var/lib/postinstall/first_run_done ]; then
|
||||
chmod +x /usr/share/postinstall/postinstall_start.sh
|
||||
cp /usr/share/postinstall/postinstall.service /etc/systemd/system/
|
||||
systemctl enable postinstall.service
|
||||
pip install --upgrade textual --break-system-packages
|
||||
fi
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue