mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-24 23:16:43 +00:00
11 lines
179 B
Bash
11 lines
179 B
Bash
#!/bin/sh
|
|
set -ex
|
|
|
|
# clear repository
|
|
dnf clean all
|
|
|
|
# clear unused space
|
|
echo 'Clearing unused space...'
|
|
dd if=/dev/zero bs=1M of=/zero >/dev/null 2>&1 || true; rm -f /zero
|
|
sync
|