Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-builder
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-builder
Commits
0858350d
Verified
Commit
0858350d
authored
Oct 25, 2024
by
Кирилл Уницаев
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cleartmp script
parent
425d5a7b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
cleartmp
bin/cleartmp
+8
-13
No files found.
bin/cleartmp
View file @
0858350d
#!/bin/bash
echo
"Cleaning...."
[
-d
/home/
"
$USER
"
/Projects/000_distro/mkimage-profiles/build
]
&&
\
pushd
/home/
"
$USER
"
/Projects/000_distro/mkimage-profiles
\
[
-d
"
$PROFILESDIR
/build"
]
&&
\
pushd
$PROFILESDIR
\
&&
make clean
\
&&
rm
-rf
/tmp/.private/
"
$USER
"
/mkimage-profiles.build.
*
\
&&
rm
-rf
$TMP
/mkimage-profiles.build.
*
\
&&
rm
-rf
./build
&&
popd
\
&&
echo
"cleaning mkimage-profiles is DONE"
[
-d
/tmp/.private/
"
$USER
"
/hasher-sisyphus-64
]
&&
rm
-rf
/tmp/.private/
"
$USER
"
/hasher-sisyphus-64/
\
[
-d
$TMP
/hasher-sisyphus-64
]
&&
rm
-rf
$TMP
/hasher-sisyphus-64/
\
&&
echo
"cleaning hasher-sisyphus is DONE"
rmiso
()
{
...
...
@@ -18,15 +19,9 @@ rmiso() {
while
[
-n
"
$1
"
]
;
do
case
"
$1
"
in
-h
|
--help
)
printf
\
"Использование:
./cleartmp.sh [опции]"
printf
\
"Опции:
--iso -i - Удаляет iso файлы в /tmp/.private/USER/out"
printf
"Использование: ./bin/cleartmp [опции]
\n\n
"
printf
"Опции:
\n
"
printf
" --iso -i Удаляет iso файлы в /tmp/.private/USER/out
\n
"
exit
0
;;
--iso
|
-i
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment